back to wxjs 

Buffer

generated from ../src/engine/buffer.cpp

A 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.



SourceForge.net Logo Support This Project

Table of Contents

Constructor

Buffer

Properties

size

Methods

clear
toString


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.