Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base64 ¶ added in v3.3.0
type Base64 struct{}
func (*Base64) FromChunk ¶ added in v3.3.0
func (d *Base64) FromChunk(chunk *sources.Chunk) *DecodableChunk
func (*Base64) Type ¶ added in v3.81.9
func (d *Base64) Type() detectorspb.DecoderType
type DecodableChunk ¶ added in v3.60.2
type DecodableChunk struct { *sources.Chunk DecoderType detectorspb.DecoderType }
DecodableChunk is a chunk that includes the type of decoder used. This allows us to avoid a type assertion on each decoder.
type Decoder ¶
type Decoder interface { FromChunk(chunk *sources.Chunk) *DecodableChunk Type() detectorspb.DecoderType }
func DefaultDecoders ¶
func DefaultDecoders() []Decoder
type EscapedUnicode ¶ added in v3.68.5
type EscapedUnicode struct{}
func (*EscapedUnicode) FromChunk ¶ added in v3.68.5
func (d *EscapedUnicode) FromChunk(chunk *sources.Chunk) *DecodableChunk
func (*EscapedUnicode) Type ¶ added in v3.81.9
func (d *EscapedUnicode) Type() detectorspb.DecoderType
type UTF16 ¶ added in v3.32.0
type UTF16 struct{}
func (*UTF16) FromChunk ¶ added in v3.32.0
func (d *UTF16) FromChunk(chunk *sources.Chunk) *DecodableChunk
func (*UTF16) Type ¶ added in v3.81.9
func (d *UTF16) Type() detectorspb.DecoderType
type UTF8 ¶ added in v3.17.0
type UTF8 struct{}
func (*UTF8) FromChunk ¶ added in v3.17.0
func (d *UTF8) FromChunk(chunk *sources.Chunk) *DecodableChunk
func (*UTF8) Type ¶ added in v3.81.9
func (d *UTF8) Type() detectorspb.DecoderType
Click to show internal directories.
Click to hide internal directories.