Buffer
generated from ../src/engine/buffer.cppA class that can be used to store bytes.
Constants
Constructor
Buffer
Buffer(Size)
| Name | Type | Default | Description |
|---|---|---|---|
| Size | Integer | The size of the buffer |
Creates a new Buffer with the given size
Properties
| Name | Type | Description |
|---|---|---|
| size | Integer | Get/Set the size of the buffer. |
Methods
clear
clear()
Clears the buffer
toString
toString(Encoding = UTF-8) : String
| Name | Type | Default | Description |
|---|---|---|---|
| Encoding | String | UTF-8 |
Converts the buffer to a String. The encoding is the encoding of content in the buffer. The default is UTF-8 which is internally used by wxJavascript.
© 2002 - 2007 Franky Braem.