Interface ByteSequence
- All Known Implementing Classes:
ByteArrayByteSequence,HttpServletEntityByteSequence,SamEntityByteSequence,StreamBufferByteSequence
public interface ByteSequence
Sequence of
byte values.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbytebyteAt(int index) Obtains thebyteat the index.intlength()Obtains the number ofbytevalues in theByteSequence.
-
Field Details
-
EMPTY
EmptyByteSequence.
-
-
Method Details
-
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.
-