API / geotoolkit / seismic / data / DataConverter / DataConverter
data.DataConverter.DataConverter
Define abstract converter of binary data to array of numbers
Constructors
Methods
Constructors
• Protected new DataConverter(dataType?, nullValue?)
Created converter
| Name | Type | Description |
|---|---|---|
Optional dataType | SampleDataFormatType | data type |
Optional nullValue | number | null value |
Methods
▸ Abstract convert(uint8binary, offset, target, samplesCount): Statistics
Converts binary data and return statistics
| Name | Type | Description |
|---|---|---|
uint8binary | Uint8Array | binary data |
offset | number | offset |
target | number[] | TypedArray | target array |
samplesCount | number | samples count |