DoxigAlpha

countingReader

Deprecated with no replacement; inefficient pattern

Function parameters

Parameters

#
reader:anytype

A Reader that counts how many bytes has been read from it.

Functions

#
CountingReader
A Reader that counts how many bytes has been read from it.

Source

Implementation

#
pub fn countingReader(reader: anytype) CountingReader(@TypeOf(reader)) {
    return .{ .child_reader = reader };
}