Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStreamSizeCounter.h
Go to the documentation of this file.
1 
10 #ifndef K_API_STREAM_SIZE_COUNTER_H
11 #define K_API_STREAM_SIZE_COUNTER_H
12 
13 #include <kApi/kApiDef.h>
14 #include <kApi/Io/kStreamSizeCounter.x.h>
15 
26 //typedef kStream kStreamSizeCounter;
27 
37 
46 
55 
64 
65 #endif
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.