MCPcopy Create free account
hub / github.com/eigenform/perfect / RandomEncoding

Class RandomEncoding

perfect/src/experiments/decoder.rs:215–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214#[derive(Clone)]
215pub struct RandomEncoding<const MAX: usize>(pub Vec<u8>);
216impl <const MAX: usize> RandomEncoding<MAX> {
217 pub fn as_bytes(&self) -> [u8; MAX] {
218 let mut buf = [0x90; MAX];

Callers 1

sampleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected