Realm

oa::ml::byte::encode

Upload raw bytes as a rank-one U8 Matrix on this thread’s default runtime. Errors Returns an error when the default runtime 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 runtime. Errors Returns an error when the default runtime cannot be initialized or when allocation or upload fails.