10 #ifndef K_API_STREAM_SIZE_COUNTER_H
11 #define K_API_STREAM_SIZE_COUNTER_H
14 #include <kApi/Io/kStreamSizeCounter.x.h>
Represents a write-only stream that counts bytes written without storing data.
Represents a 64-bit unsigned integer.
Abstract base class for memory allocator types.
k64u kStreamSizeCounter_Position(kStreamSizeCounter counter)
Returns the current position of the write pointer, relative to the beginning.
k64u kStreamSizeCounter_Length(kStreamSizeCounter counter)
Returns the current length (total bytes written) of the counter.
kStatus kStreamSizeCounter_Construct(kStreamSizeCounter *counter, kAlloc allocator)
Constructs a kStreamSizeCounter object.
Core Zen type declarations.
Represents an error code.
kStatus kStreamSizeCounter_Reset(kStreamSizeCounter counter)
Resets the counter to zero.