ae v0.0.2898 (2020-12-28T17:57:20Z)
Home
Dub
Repo
CountingWriter
ae
utils
textout
Sink which simply counts how much data is written to it.
struct
CountingWriter (
T
) {
size_t
count
;
void
put
(T v);
void
put
(T[] v);
}
Members
Functions
put
void
put
(T[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void
put
(T v)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
count
size_t
count
;
Undocumented in source.
Meta
Source
See Implementation
ae
utils
textout
aliases
IsStringSink
StringBuffer
StringBuilder
functions
put
putDecimal
structs
BlindWriter
CountingWriter
StaticBuf
templates
countCopy
isStringSink
Sink which simply counts how much data is written to it.