Skip to main content

encode_batched

Function encode_batched 

Source
pub fn encode_batched(bytes: &[u8]) -> Result<Matrix>
Expand description

Upload raw bytes as one batched U8 sequence [1, S] on this thread’s default runtime.

§Errors

Returns an error when the default runtime cannot be initialized or when allocation or upload fails.