pub fn encode(message: &[u8], parity: u8) -> Result<Buffer, EncodeError>Expand description
Encodes a message by adding an error-correcting code.
ยงErrors
RSConstructorErroris returned iflen(message) + 2 * parity>255.RSEncodeErroris returned if encoding fails for any reason.