Creates a new reading buffer.
The keyboard layout to use.
The composed string of the buffer.
Whether the buffer has a tone marker.
Whether the buffer has only a tone marker.
Whether the buffer is empty.
The keyboard layout used by the buffer.
The current syllable in the buffer.
Removes the last key from the buffer.
Clears the buffer.
Appends a key to the buffer.
The key to append.
True if the key was successfully appended, false otherwise.
Checks if a key is valid for the current layout.
The key to check.
True if the key is valid, false otherwise.
Sets the syllable, removing the tone marker.
The syllable to set.
Returns the key sequence in the standard layout.
The key sequence.
The buffer used to store the Bopomofo reading.