public interface WrappedBytes
| Modifier and Type | Method and Description |
|---|---|
int |
backArrayOffset()
The offset of where data starts in the backed array.
|
default boolean |
equalsWrappedBytes(WrappedBytes other) |
byte |
getByte(int offset)
Retrieves the byte given an offset.
|
byte[] |
getBytes()
The backing array if there is one otherwise null is returned.
|
int |
getLength()
The length of the underlying wrapped bytes.
|
byte[] getBytes()
backArrayOffset() to know where to read the bytes from. This byte[] should never be modified
by the callerint backArrayOffset()
int getLength()
byte getByte(int offset)
getLength().offset - the offset of where to find the bytedefault boolean equalsWrappedBytes(WrappedBytes other)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.