public static class TranscoderUtils.ByteBufToArray extends Object
A class that holds information from a ByteBuf
that allows to read its corresponding byte array. Offset and length are needed in case the ByteBuf is directly backed by a byte[] but the size of the byte isn’t representative of the actual size of the current content.
Constructor and Description |
---|
ByteBufToArray(byte[] byteArray,
int offset,
int length) |
Copyright © 2015 Couchbase, Inc.