Realm

oa::ml::byte::encode_on

Upload raw bytes as a rank-one U8 Matrix on a particular runtime. Errors Returns an error when allocation or upload fails.

FnRust public API

Function Documentation

pub fn encode_on( runtime: &Runtime, bytes: &[u8] ) -> Result<Matrix>
Upload raw bytes as a rank-one U8 Matrix on a particular runtime. Errors Returns an error when allocation or upload fails.