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