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