decoders

package
v3.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: AGPL-3.0 Imports: 1 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 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