Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferSize int = (((32 * 1024) - 2) << 4) / 29
View Source
var LineBreakAfter uint = 76
View Source
var Split = func(data []byte, atEOF bool) (advance int, token []byte, err error) { l := len(data) if atEOF && l > 0 { return l, data[:l], nil } if l < maxTokenSize { return 0, nil, nil } return maxTokenSize, data[0:maxTokenSize], nil }
Split function for input
Functions ¶
func NewDecoder ¶
NewDecoder takes an io.Reader as source to read encoded data from.
func NewEncoder ¶
func NewEncoder(dst io.Writer) io.WriteCloser
NewEncoder takes an io.Writer as destination to write encoded data to.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.