Constructor
new MatHeader(buf)
Create matfile header and attach data buffer
- Source:
Parameters:
Name | Type | Description |
---|---|---|
buf |
array
|
Data bffer |
Classes
Members
firstDataTypeOffsetBegin
WARNING: type "miCOMPRESSED" is the default for MATLAB files above version 6. These compressed files are currently UNREADABLE by this program as the file must be decompressed before reading.
- Source:
Methods
(private) createArray(buf, offset, length, type)
Get a JS array from MATLAB array
- Source:
Parameters:
Name | Type | Description |
---|---|---|
buf |
ArrayBuffer
|
Array
|
|
offset |
number
|
|
length |
number
|
|
type |
string
|
|
getDataWithType(dv, typeName, offset, littleEndian) → {*}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
dv |
||
typeName |
||
offset |
||
littleEndian |
Returns:
- Type:
-
*
setData(buf, dvhdr, currIndex, littleEndian)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
buf |
||
dvhdr |
||
currIndex |
||
littleEndian |