java.lang.Object | |
↳ | org.bouncycastle.crypto.tls.ByteQueue |
A queue for bytes. This file could be more optimized.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add some data to our buffer.
| |||||||||||
Read data from the buffer.
| |||||||||||
Remove some bytes from our data from the beginning.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Add some data to our buffer.
data | A byte-array to read data from. |
---|---|
offset | How many bytes to skip at the beginning of the array. |
len | How many bytes to read from the array. |
Read data from the buffer.
buf | The buffer where the read data will be copied to. |
---|---|
offset | How many bytes to skip at the beginning of buf. |
len | How many bytes to read at all. |
skip | How many bytes from our data to skip. |
Remove some bytes from our data from the beginning.
i | How many bytes to remove. |
---|