Realm

oa::ml::byte::encode

Upload raw bytes as a rank-one U8 Matrix on this thread’s default engine. Errors Returns an error when the default engine cannot be initialized or when allocation or upload fails.

FnRust public API

Function Documentation

pub fn encode( bytes: &[u8] ) -> Result<Matrix>
Upload raw bytes as a rank-one U8 Matrix on this thread’s default engine. Errors Returns an error when the default engine cannot be initialized or when allocation or upload fails.