Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedLengthDecoder ¶
type FixedLengthDecoder struct {
FrameLength int
// contains filtered or unexported fields
}
func NewFixedLengthDecoder ¶
func NewFixedLengthDecoder(frameLength int) *FixedLengthDecoder
func (*FixedLengthDecoder) Decode ¶
func (d *FixedLengthDecoder) Decode(data *[]byte) ([]byte, error)
func (*FixedLengthDecoder) Input ¶
func (d *FixedLengthDecoder) Input(context *event.HandleContext, data interface{}) (interface{}, bool)
type LengthBased ¶
type LengthBased struct {
// contains filtered or unexported fields
}
func NewLengthBased ¶
func NewLengthBased(lengthFieldOffset int, lengthFieldLength int, lengthAdjustment int, initialBytesToStrip int) *LengthBased
func (*LengthBased) Input ¶
func (l *LengthBased) Input(context *event.HandleContext, data interface{}) (interface{}, bool)
Click to show internal directories.
Click to hide internal directories.