decoders

package
v3.25.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fuzz

func Fuzz(data []byte) int

Fuzz is an entrypoint for go-fuzz, which is an AFL-style fuzzing tool. This one attempts to uncover any panics during decoding.

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) *sources.Chunk

type Decoder

type Decoder interface {
	FromChunk(chunk *sources.Chunk) *sources.Chunk
}

func DefaultDecoders

func DefaultDecoders() []Decoder

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) *sources.Chunk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL