This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Type Function
Hashed
Public Type Function
std.Io.Reader.Hashed
pubfnHashed(comptimeHasher: type) type
Provides a Reader implementation by passing data from an underlying reader through Hasher.update.
The underlying reader is best unbuffered.
This implementation makes suboptimal buffering decisions due to being generic. A better solution will involve creating a reader for each hash function, where the discard buffer can be tailored to the hash implementation details.
Provides a
Readerimplementation by passing data from an underlying reader throughHasher.update.The underlying reader is best unbuffered.
This implementation makes suboptimal buffering decisions due to being generic. A better solution will involve creating a reader for each hash function, where the discard buffer can be tailored to the hash implementation details.