Ascii

Description

Name

class Tinman.Data.Ascii

Derived from

Data

A data provider that reads decimal numbers from a text file and encodes the values as a binary data stream.

Fields / Required

data

Type

Data

Constraint

# != null

The data provider that returns the text file.

Fields / Optional

offset

Type

number

Default

0

The offset to apply to parsed decimal numbers, before applying the scale.


scale

Type

number

Default

1

The scale to apply to parsed decimal numbers, after applying the offset.


skipLines

Type

number

Constraint

# >= 0

Default

0

The count of initial text lines to skip at the beginning of the text file.


skipNumbers

Type

number

Constraint

# >= 0

Default

0

The count of initial parsed decimal numbers to skip.


type

Type

Raw.Type

Default

Raw.Type.Float32

The sample type to use for writing parsed decimal numbers.


order

Type

ByteOrder

Default

ByteOrder.LittleEndian

The byte order to use for type.


count

Type

number

Constraint

# >= 0

Default

0

The fixed number of decimal numbers to parse or 0 to parse as many numbers as there are in the text stream.