ae v0.0.2177 (2018-04-10T20:33:51Z)
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.