ByteOutputBuffer Class Members
In This Topic
The following tables list the members exposed by ByteOutputBuffer.
Public Constructors
Public Fields
| Name | Description |
![Public Field](template/packages/core-dotnet/images/publicField.png) | BUF_DEF_LEN | The default initial buffer size |
![Public Field](template/packages/core-dotnet/images/publicField.png) | BUF_INC | The buffer increase size |
Top
Public Methods
| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | getByte | Returns the byte buffered at the given position in the buffer. The position in the buffer is the index of the 'write()' method call after the last call to 'reset()'. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | reset | Discards all the buffered data, by resetting the counter of written bytes to 0. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | size | Returns the number of valid bytes in the output buffer (count class variable). |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | toByteArray | Copies the specified part of the stream to the 'outbuf' byte array. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) | write | Writes the specified byte to this byte array output stream. The functionality provided by this implementation is the same as for the one in the superclass, however this method is not synchronized and therefore not safe thread, but faster. |
Top
See Also