MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / new

Method new

hail-fuzz/src/input.rs:34–36  ·  view source on GitHub ↗
(bytes: Vec<u8>)

Source from the content-addressed store, hash-verified

32
33impl StreamData {
34 pub fn new(bytes: Vec<u8>) -> Self {
35 Self { bytes, cursor: 0, sizes: 0 }
36 }
37
38 pub fn clear(&mut self) {
39 self.bytes.clear();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected