Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
215
pub struct RandomEncoding<const MAX: usize>(pub Vec<u8>);
216
impl <const MAX: usize> RandomEncoding<MAX> {
217
pub fn as_bytes(&self) -> [u8; MAX] {
218
let mut buf = [0x90; MAX];
Callers
1
sample
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected