@Test public void empty_returnsEmptyBuffer() { ReadableBuffer buffer = ReadableBuffers.empty(); assertArrayEquals(new byte[0], buffer.array()); }
public static ReadableBuffer empty() { return EMPTY_BUFFER; }
ReadableBuffers { public static ReadableBuffer empty() { return EMPTY_BUFFER; } }
ReadableBuffers { public static ReadableBuffer empty() { return EMPTY_BUFFER; } private  ReadableBuffers(); }
ReadableBuffers { public static ReadableBuffer empty() { return EMPTY_BUFFER; } private  ReadableBuffers(); static ReadableBuffer empty(); static ReadableBuffer wrap(byte[] bytes); static ReadableBuffer wrap(byte[] bytes, int offset, int length); static ReadableBuffer wrap(ByteBuffer bytes); static byte[] readArray(ReadableBuffer buffer); static String readAsString(ReadableBuffer buffer, Charset charset); static String readAsStringUtf8(ReadableBuffer buffer); static InputStream openStream(ReadableBuffer buffer, boolean owner); static ReadableBuffer ignoreClose(ReadableBuffer buffer); }
ReadableBuffers { public static ReadableBuffer empty() { return EMPTY_BUFFER; } private  ReadableBuffers(); static ReadableBuffer empty(); static ReadableBuffer wrap(byte[] bytes); static ReadableBuffer wrap(byte[] bytes, int offset, int length); static ReadableBuffer wrap(ByteBuffer bytes); static byte[] readArray(ReadableBuffer buffer); static String readAsString(ReadableBuffer buffer, Charset charset); static String readAsStringUtf8(ReadableBuffer buffer); static InputStream openStream(ReadableBuffer buffer, boolean owner); static ReadableBuffer ignoreClose(ReadableBuffer buffer);  }