Class Bytes

java.lang.Object
com.couchbase.client.core.util.Bytes

public class Bytes extends Object
Defines useful constants and methods regarding bytes.
  • Field Details

    • EMPTY_BYTE_ARRAY

      public static final byte[] EMPTY_BYTE_ARRAY
      Holds an empty byte array, so we do not need to create one every time.
  • Constructor Details

    • Bytes

      public Bytes()
  • Method Details

    • readAllBytes

      public static byte[] readAllBytes(InputStream is)