Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGzipReader ¶ added in v1.26.0
GetGzipReader returns new gzip reader from the pool.
Return back the gzip reader when it no longer needed with PutGzipReader.
func PutGzipReader ¶ added in v1.26.0
PutGzipReader returns back gzip reader obtained via GetGzipReader.
func ReadLinesBlock ¶ added in v1.18.7
ReadLinesBlock reads a block of lines delimited by '\n' from tailBuf and r into dstBuf.
Trailing chars after the last newline are put into tailBuf.
Returns (dstBuf, tailBuf).
func ReadLinesBlockExt ¶ added in v1.30.6
ReadLinesBlockExt reads a block of lines delimited by '\n' from tailBuf and r into dstBuf.
Trailing chars after the last newline are put into tailBuf.
Returns (dstBuf, tailBuf).
maxLineLen limits the maximum length of a single line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.