public class LByteChannel extends LImport
Constructor and Description |
---|
LByteChannel() |
LByteChannel(byte[] input) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
byte[] |
extract(int read)
Reads in amount of bytes and converts them to integers.
Moves position forward. |
java.lang.Boolean |
isDone() |
void |
jumpBack(int amount)
Moves position back an amount of bytes.
|
void |
openStream(byte[] input) |
void |
openStream(LShrinkArray in) |
long |
pos() |
void |
pos(long pos) |
int |
read()
Reads in one integer and moves the position up one
|
void |
skip(int skip)
Bumps the position the desired offset.
|
correctForCompression, extract, extractAllBytes, extractAllString, extractBool, extractFloat, extractInt, extractInt, extractInts, extractInts, extractLine, extractLong, extractString, extractString, extractString, extractUntil, extractUntil, extractUntil, extractUntil, extractUntil, getAllBytes, getBytes, getInts, getString, getString, scanTo
public LByteChannel()
public LByteChannel(byte[] input)
input
- public final void openStream(byte[] input)
input
- public final void openStream(LShrinkArray in)
in
- public int read()
LImport
public void skip(int skip)
LImport
public void jumpBack(int amount)
LImport