public static class AbstractByteSequence.PartialByteSequence extends AbstractByteSequence
AbstractByteSequence.AggregateByteSequence, AbstractByteSequence.PartialByteSequence| Constructor and Description |
|---|
PartialByteSequence(ByteSequence seq, int of, int cb)
Construct a PartialByteSequence from a ByteSequence.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
byteAt(int of)
Determine the n-th byte of the byte sequence.
|
int |
length()
Determine the number of bytes of data represented by this ByteSequence.
|
equals, hashCode, subSequence, toBinary, toStringpublic PartialByteSequence(ByteSequence seq, int of, int cb)
seq - the ByteSequenceof - the offset within the ByteSequencecb - the number of bytes from the ByteSequencepublic int length()
public byte byteAt(int of)
of - the zero-based byte offset within the sequence of bytes (0 <= of < ByteSequence.length())