Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrBuffer ¶
type StrBuffer struct {
// contains filtered or unexported fields
}
StrBuffer is a basic wrapper bufio.Writer while override its WriteString func.
func (*StrBuffer) WriteString ¶
WriteString implements IBufStrWriter
type StrBufferWriter ¶
type StrBufferWriter interface { WriteString(s string) Flush() }
StrBufferWriter is interface facilitate quick writing string regardless of error handling and written len.
func NewStrBuffer ¶
func NewStrBuffer(w io.Writer) StrBufferWriter
NewStrBuffer new a defined buffed string writer with passed io.writer.
Click to show internal directories.
Click to hide internal directories.