Skip to main content

encode_on

Function encode_on 

Source
pub fn encode_on(runtime: &Runtime, bytes: &[u8]) -> Result<Matrix>
Expand description

Upload raw bytes as a rank-one U8 Matrix on a particular runtime.

ยงErrors

Returns an error when allocation or upload fails.