Function encode

Source
pub fn encode(table: &[u8; 64], src: &[u8]) -> Vec<u8>
Expand description

Encoding function returns vector with data written.

Requires feature alloc.

§Arguments

  • src - Input to encode;

§Panics

In case of required size to be too big