Package com.mapr.utils
Class ByteArrayReader
- java.lang.Object
-
- com.mapr.utils.ByteReader
-
- com.mapr.utils.ByteArrayReader
-
public class ByteArrayReader extends ByteReader
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]copyOfRange(int from, int to)Doesn't affect the cursor value of the objectbytegetByte(int idx)intlength()ByteReadermark()bytenextUnsafe()ByteReaderreset()
-
-
-
Method Detail
-
length
public int length()
- Specified by:
lengthin classByteReader
-
nextUnsafe
public byte nextUnsafe()
- Specified by:
nextUnsafein classByteReader
-
getByte
public byte getByte(int idx)
- Specified by:
getBytein classByteReader
-
mark
public ByteReader mark()
- Specified by:
markin classByteReader
-
reset
public ByteReader reset()
- Specified by:
resetin classByteReader
-
copyOfRange
public byte[] copyOfRange(int from, int to)Description copied from class:ByteReaderDoesn't affect the cursor value of the object- Specified by:
copyOfRangein classByteReader
-
-