Interface ByteSequence
-
- All Known Implementing Classes:
ByteArrayByteSequence,HttpServletEntityByteSequence,StreamBufferByteSequence
public interface ByteSequenceSequence ofbytevalues.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static ByteSequenceEMPTYEmptyByteSequence.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytebyteAt(int index)Obtains thebyteat the index.intlength()Obtains the number ofbytevalues in theByteSequence.
-
-
-
Field Detail
-
EMPTY
static final ByteSequence EMPTY
EmptyByteSequence.
-
-
Method Detail
-
byteAt
byte byteAt(int index)
Obtains thebyteat the index.- Parameters:
index- Index of thebyte.- Returns:
byteat the index.
-
length
int length()
Obtains the number ofbytevalues in theByteSequence.- Returns:
- Number of
bytevalues in theByteSequence.
-
-