Package com.couchbase.client.core.util
Class Bytes
- java.lang.Object
-
- com.couchbase.client.core.util.Bytes
-
public class Bytes extends Object
Defines useful constants and methods regarding bytes.
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
EMPTY_BYTE_ARRAY
Holds an empty byte array, so we do not need to create one every time.
-
Constructor Summary
Constructors Constructor Description Bytes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
readAllBytes(InputStream is)
-
-
-
Method Detail
-
readAllBytes
public static byte[] readAllBytes(InputStream is)
-
-