IdxReaderMagic Property |
Namespace: Accord.IO
The magic number is an integer (MSB first). The first 2 bytes are always 0. The third byte codes the type of the data. The 4-th byte codes the number of dimensions of the vector/matrix: 1 for vectors, 2 for matrices.
Code | Meaning |
---|---|
0x08 | unsigned byte |
0x09 | signed byte |
0x0B | short (2 bytes) |
0x0C | int (4 bytes) |
0x0D | float (4 bytes) |
0x0E | double (8 bytes) |