If you define an Input type such as:
struct MyInput {
v: Vec<u8>,
}
and the length of v varies from frame to frame, then the delta encoding in src/network/compression.rs panics due to the "all inputs must be the same size as the reference input" assertion.
Caused by my #82 PR, which enables using varying-size inputs - I didn't actually test with varying input sizes, whoops! I'm working on a fix.
If you define an Input type such as:
and the length of
vvaries from frame to frame, then the delta encoding insrc/network/compression.rspanics due to the "all inputs must be the same size as the reference input" assertion.Caused by my #82 PR, which enables using varying-size inputs - I didn't actually test with varying input sizes, whoops! I'm working on a fix.