Class TranscoderUtils.ByteBufToArray
- java.lang.Object
-
- com.couchbase.client.java.transcoder.TranscoderUtils.ByteBufToArray
-
- Enclosing class:
- TranscoderUtils
public static class TranscoderUtils.ByteBufToArray extends Object
A class that holds information from aByteBuf
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 Summary
Constructors Constructor Description ByteBufToArray(byte[] byteArray, int offset, int length)
-