public class Asn1Buffer2 extends Object
Constructor and Description |
---|
Asn1Buffer2()
Create a new instance of Asn1Buffer2
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the position, emptying the buffer.
|
byte[] |
getBytes() |
int |
getPos() |
int |
getSize() |
void |
put(byte b)
Store a byte at the current position in the buffer
|
void |
put(byte[] bytes)
Store some bytes at the current position in the buffer
|
String |
toString() |
public Asn1Buffer2()
public int getPos()
public void put(byte b)
b
- The byte to storepublic void put(byte[] bytes)
bytes
- The bytes to storepublic byte[] getBytes()
public int getSize()
public void clear()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.