ByteBufUtil.getBytes

Create a copy of the underlying storage from {@code buf} into a byte array. The copy will start at {@code start} and copy {@code length} bytes.

  1. byte[] getBytes(ByteBuf buf)
  2. byte[] getBytes(ByteBuf buf, int start, int length)
    class ByteBufUtil
    static
    byte[]
    getBytes
  3. byte[] getBytes(ByteBuf buf, int start, int length, bool copy)

Meta