public class MBIn extends Object
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytez |
protected int |
pos |
| Constructor and Description |
|---|
MBIn(byte[] bytez,
int pos) |
MBIn(MinBin mb,
byte[] bytez,
int pos) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBuffer() |
int |
getCount() |
int |
getPos() |
byte |
peekIn() |
Object |
readArray() |
Object |
readArrayRaw(byte type,
int len,
Object resultingArray)
read into preallocated array, allows to write to different type (e.g.
|
byte |
readIn() |
long |
readInt() |
Object |
readObject() |
Object |
readTag(byte tag) |
void |
reset() |
void |
setBuffer(byte[] buf,
int count) |
void |
setPos(int newpos) |
public MBIn(byte[] bytez,
int pos)
public MBIn(MinBin mb, byte[] bytez, int pos)
public byte readIn()
public byte peekIn()
public long readInt()
public Object readArray()
public Object readArrayRaw(byte type, int len, Object resultingArray)
type - type tag.len - resultingArray - public Object readTag(byte tag)
public Object readObject()
public byte[] getBuffer()
public int getPos()
public void setPos(int newpos)
public void setBuffer(byte[] buf,
int count)
public void reset()
public int getCount()
Copyright © 2015. All rights reserved.