decoders

package
v3.6.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: AGPL-3.0 Imports: 4 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 Plain

type Plain struct{}

func (*Plain) FromChunk

func (d *Plain) FromChunk(chunk *sources.Chunk) *sources.Chunk

Jump to

Keyboard shortcuts

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