\Swift_CharacterReader
Analyzes characters for a specific character set.
- Author: Chris Corbyn
Synopsis
interface Swift_CharacterReader
{
- // constants
- const MAP_TYPE_INVALID = 0x01;
- const MAP_TYPE_FIXED_LEN = 0x02;
- const MAP_TYPE_POSITIONS = 0x03;
- // methods
- public integer getCharPositions()
- public integer getMapType()
- public integer validateByteSequence()
- public integer getInitialByteSize()
Constants
Name | Value |
---|---|
MAP_TYPE_INVALID | 0x01 |
MAP_TYPE_FIXED_LEN | 0x02 |
MAP_TYPE_POSITIONS | 0x03 |
Methods
public
- getCharPositions() — Returns the complete character map
- getInitialByteSize() — Returns the number of bytes which should be read to start each character.
- getMapType() — Returns the mapType, see constants.
- validateByteSequence() — Returns an integer which specifies how many more bytes to read.