Safe Haskell | None |
---|
Byte level SDIF frame data structure.
- is_matrix_b :: ByteString -> Bool
- matrix_b_header_size :: Int
- matrix_b_header :: ByteString -> ByteString
- matrix_b_type :: ByteString -> String
- matrix_b_data_type :: ByteString -> Type
- matrix_b_rows :: ByteString -> Int
- matrix_b_columns :: ByteString -> Int
- matrix_b_elements :: ByteString -> Int
- matrix_b_data_size :: ByteString -> Int
- matrix_b_storage_size :: ByteString -> Int
- matrix_b_to_matrix_v :: ByteString -> [Datum]
Documentation
is_matrix_b :: ByteString -> BoolSource
Data integrity check for SDIF matix byte stream.
matrix_b_header_size :: IntSource
Matrix header size (constant).
matrix_b_header :: ByteString -> ByteStringSource
Extract matrix header byte stream.
matrix_b_type :: ByteString -> StringSource
Extract matrix type string.
matrix_b_data_type :: ByteString -> TypeSource
Extract matrix element data Type
.
matrix_b_rows :: ByteString -> IntSource
Extract matrix row count.
matrix_b_columns :: ByteString -> IntSource
Extract matrix column count.
matrix_b_elements :: ByteString -> IntSource
Extract matrix element count (ie. rows by columns).
matrix_b_data_size :: ByteString -> IntSource
Calculate size of matrix data store (ie. elements by Type
size).
matrix_b_storage_size :: ByteString -> IntSource
Variant of matrix_b_data_size
taking into account required padding.
matrix_b_to_matrix_v :: ByteString -> [Datum]Source
Extract matrix data from byte stream.