//
pkg.gl
Category
github.com/elastic/beats/v7
libbeat
common
streambuf
package
7.17.28
Repository:
https://github.com/elastic/beats.git
Documentation:
pkg.go.dev
Versions
4
Dependencies
5
Dependents
30
Files
830 SLOC
#
Functions
New
New creates new extensible buffer from data slice being retained by the buffer.
NewFixed
NewFixed create new fixed buffer from data slice being retained by the buffer.
#
Variables
ErrExpectedByteSequenceMismatch
ErrExpectedDigit
ErrNoMoreBytes
Parse operation can not be continued.
ErrOperationNotAllowed
Error returned if Append or Write operation is not allowed due to the buffer being fixed.
ErrOutOfRange
ErrUnexpectedEOB
Parse operation failed cause of buffer snapped short + buffer is fixed.
#
Structs
Buffer
A Buffer is a variable sized buffer of bytes with Read, Write and simple parsing methods.