public class InByteBuf extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
InByteBuf.SizedStructInfo
Information about the TPM data structure being currently unmarshaled.
|
| Modifier and Type | Field and Description |
|---|---|
Stack<InByteBuf.SizedStructInfo> |
structSize |
| Constructor and Description |
|---|
InByteBuf(byte[] buf) |
| Modifier and Type | Method and Description |
|---|---|
int |
bytesRemaining() |
int |
curPos() |
byte[] |
getRemaining()
Extracts all bytes remaining in this buffer.
|
byte[] |
peekRemaining()
Returns all bytes remaining in this buffer without updating the current position.
|
void |
readArrayOfInts(Object arrX,
int intSize,
int numElems) |
void |
readArrayOfTpmObjects(Object arrX,
int numElems) |
byte |
readByte() |
byte[] |
readByteArray(int numBytes) |
int |
readInt() |
int |
readInt(int numBytes) |
long |
readLong() |
short |
readShort() |
public Stack<InByteBuf.SizedStructInfo> structSize
public byte readByte()
public short readShort()
public int readInt()
public long readLong()
public int readInt(int numBytes)
public byte[] readByteArray(int numBytes)
public void readArrayOfInts(Object arrX, int intSize, int numElems)
public void readArrayOfTpmObjects(Object arrX, int numElems)
public int curPos()
public int bytesRemaining()
public byte[] getRemaining()
public byte[] peekRemaining()
Copyright © 2018. All rights reserved.