Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PaddingFunc ¶
type Writer ¶
type Writer struct { Padding uint PadFunc PaddingFunc // contains filtered or unexported fields }
func NewWriter ¶
func NewWriter(width uint, paddingFunc PaddingFunc) *Writer
func NewWriterPipe ¶
func NewWriterPipe(forward io.Writer, width uint, paddingFunc PaddingFunc) *Writer
func (*Writer) Flush ¶ added in v0.3.0
Flush will finish the padding operation. Always call it before trying to retrieve the final result.
Click to show internal directories.
Click to hide internal directories.