Constructor
(protected) new yellowDataReader(buffer) → (non-null) {Object.<string, function(number): number>|Object.<string, function(number): Object.<string.number>>}
Parameters:
Name |
Type |
Description |
buffer |
ArrayBuffer
|
ArrayBuffer to base DataView from. |
- Source:
Returns:
Extends
Methods
f16le(i) → {number}
Fixed-point 16-bit, Little Endian.
Parameters:
Name |
Type |
Description |
i |
number
|
Indice offset. |
- Source:
Returns:
-
Type
-
number
f32le(i) → {number}
Floating-point 32-bit, Little Endian.
Parameters:
Name |
Type |
Description |
i |
number
|
Indice offset. |
- Source:
Returns:
-
Type
-
number
t64le(i) → {Object.<string, number>}
64-bit Timestamp structure, Little Endian.
Time returned is set for JST (UTC+09:00) instead of UTC.
Time returned is going to be offseted for JST (GMT+09:00).
Parameters:
Name |
Type |
Description |
i |
number
|
Indice offset. |
Properties:
Name |
Type |
Description |
seconds |
number
|
Seconds. |
minutes |
number
|
Minutes. |
hours |
number
|
Hours. |
day |
number
|
Day. |
month |
number
|
Month. |
year |
number
|
Year. |
- Source:
Returns:
-
Type
-
Object.<string, number>
u16le(i) → {number}
Unsigned 16-bit, Little Endian.
Parameters:
Name |
Type |
Description |
i |
number
|
Indice offset. |
- Source:
Returns:
-
Type
-
number
u32le(i) → {number}
Unsigned 32-bit, Little Endian.
Parameters:
Name |
Type |
Description |
i |
number
|
Indice offset. |
- Source:
Returns:
-
Type
-
number