public class CborBuffer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
byte[] |
buf |
int |
length |
int |
offset |
int |
start |
| Constructor and Description |
|---|
CborBuffer() |
CborBuffer(byte[] buf,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getByteString() |
java.lang.String |
getTextString() |
int |
getVarInt16() |
int |
getVarInt32() |
long |
getVarInt64() |
int |
getVarInt8() |
void |
reset(byte[] buf,
int offset,
int length) |
public byte[] buf
public int start
public int length
public int offset
public CborBuffer()
public CborBuffer(byte[] buf,
int offset,
int length)
public final void reset(byte[] buf,
int offset,
int length)
public int getVarInt8()
throws CborException
CborExceptionpublic int getVarInt16()
throws CborException
CborExceptionpublic int getVarInt32()
throws CborException
CborExceptionpublic long getVarInt64()
throws CborException
CborExceptionpublic java.lang.String getTextString()
throws CborException
CborExceptionpublic byte[] getByteString()
throws CborException
CborException