| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | checkCapacity(int
length to add to the current buffer len)This method with expand the buffer if |
| public byte[] | |
| public String | toString()
Overrides java. Converts the buffer's contents into a string decoding bytes using the default charset. |
| public void | write(ByteBuffer
remaining non-blocksize ByteBuffer src)Takes a ByteBuffer writing non-blocksize data directly to the internal buffer. |
| public void | write(byte[] in, int offset, int len)
Overrides java. Writes |
| AEADBufferedStream | back to summary |
|---|---|
| public AEADBufferedStream(int len) Create an instance with the specified buffer | |
| checkCapacity | back to summary |
|---|---|
| private void checkCapacity(int len) This method with expand the buffer if
| |
| getBuffer | back to summary |
|---|---|
| public byte[] getBuffer() This method saves memory by returning the internal buffer. The calling
method must use
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Converts the buffer's contents into a string decoding bytes using the
default charset. The length of the new This method always replaces malformed-input and unmappable-character sequences with the default replacement string for the default charset. The java.nio.charset.CharsetDecoder class should be used when more control over the decoding process is required.
| |
| write | back to summary |
|---|---|
| public void write(ByteBuffer src) Takes a ByteBuffer writing non-blocksize data directly to the internal buffer.
| |
| write | back to summary |
|---|---|
| public void write(byte[] in, int offset, int len) Overrides java. Doc from java. Writes
| |