- asArray
Creates a new byte array view of this sequence.
- copyFrom
Creates a new immutable byte sequence with the same content and order of the
passed byte array, from
- size
Gets the number of bytes in this sequence.
- <init>
Private constructor. Creates a new byte sequence object backed by the passed
ByteBuffer.
- asReadOnlyBuffer
Returns a view of this sequence as a read-only ByteBuffer. The returned buffer
will have position 0,
- bitwiseAnd
Returns a new byte sequence corresponding to the result of a bitwise AND
operation between this sequ
- doBitwiseOp
- equals
- fit
Trims or expands a copy of this byte sequence so to fit the given bit-width.
When trimming, the oper
- msbIndex
Returns the index of the most significant bit (MSB), assuming a bit numbering
scheme of type "LSB 0"
- ofOnes
Creates a new byte sequence of the given size where all bits are 1.
- prefix
Creates a new byte sequence that is prefixed with specified number of zeros if
val = 0 or ones if va