Extends
Constructor
new ve.dm.DataString(data)
#
Hierarchy
Wrapper class to read document data as a plain text string.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Array.<ve.dm.LinearData.Item> | Document data |
- Source:
Wrapper class to read document data as a plain text string.
Methods
read(position) → {string|null}
#
null}
#
Reads the character from the specified position in the data.
Parameters:
| Name | Type | Description |
|---|---|---|
position |
number | Position in data to read from |
Returns:
Character at position, or null if not text
- Type
-
string
|
null
- Source:
Reads the character from the specified position in the data.