Interface Data.ByteArrayView
- All Superinterfaces:
Supplier<byte[]>
- All Known Subinterfaces:
JacksonInverter.DocumentBytes
Read-only view of a byte-array range for serializers that can consume a slice directly.
The backing array must not be modified. Calling Supplier.get() retains the ordinary byte[] contract
and may materialize an independent array.
-
Method Summary
-
Method Details
-
array
byte[] array()Returns the backing byte array without copying it. -
offset
int offset()Returns the zero-based offset where this view starts in the backing array. -
length
int length()Returns the number of bytes covered by this view.
-