Expand all

ve.dm.DataString

Extends

Constructor

new ve.dm.DataString(data) #

Wrapper class to read document data as a plain text string.

Parameters:

Name Type Description
data Array

Document data

Source:
Wrapper class to read document data as a plain text string.

Methods

read(position) → {string|null} #

Reads the character from the specified position in the data.

Parameters:

Name Type Description
position number

Position in data to read from

Source:

Returns:

Character at position, or null if not text

Type
string | null
Reads the character from the specified position in the data.