mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Some calls like json.Encoder.Encode mask the number of bytes written to an io.Writer. The solution provides a wrapper io.Writer around the actual io.Writer that allows multiple calls to Write to be considered as one and allow access to this count. Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
3.1 KiB
3.1 KiB