Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentBuffer ¶
type ContentBuffer struct {
// contains filtered or unexported fields
}
func NewContentBuffer ¶
func NewContentBuffer(bufferSize int, emitter func(*EmitterData) bool) ContentBuffer
func (*ContentBuffer) Add ¶
func (cb *ContentBuffer) Add(b byte) error
func (*ContentBuffer) AddArray ¶
func (cb *ContentBuffer) AddArray(b []byte) error
func (*ContentBuffer) Backup ¶
func (cb *ContentBuffer) Backup(step int)
func (*ContentBuffer) Emit ¶
func (cb *ContentBuffer) Emit(ed *EmitterData) bool
func (*ContentBuffer) Reset ¶
func (cb *ContentBuffer) Reset()
type EmitterData ¶
func (*EmitterData) Reset ¶
func (ed *EmitterData) Reset()
Click to show internal directories.
Click to hide internal directories.