Deserialize a codec from a byte buffer produced by [`Self::to_bytes`].
(buf: &[u8])
| 172 | |
| 173 | /// Deserialize a codec from a byte buffer produced by [`Self::to_bytes`]. |
| 174 | pub fn from_bytes(buf: &[u8]) -> Result<Self, CodecError> { |
| 175 | codec_envelope::decode(Self::ENVELOPE_MAGIC, Self::ENVELOPE_VERSION, buf) |
| 176 | } |
| 177 | |
| 178 | /// Apply the randomised WHT rotation to a residual vector. |
| 179 | /// |