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

Method read_as

hail-fuzz/src/input.rs:45–47  ·  view source on GitHub ↗

Returns whether the stream has been read as a certain sized value.

(&self, size: u32)

Source from the content-addressed store, hash-verified

43
44 /// Returns whether the stream has been read as a certain sized value.
45 pub fn read_as(&self, size: u32) -> bool {
46 self.sizes & size != 0
47 }
48
49 /// Returns the minimum alignment of the stream, given the reads we have seen for this stream.
50 pub fn min_alignment(&self) -> usize {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected