decoding

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHeaderNotFound = errors.New("yenc header not found")

Functions

This section is empty.

Types

type YencDecoder

type YencDecoder struct {
	PartOffset int64
	FileSize   int64
	// contains filtered or unexported fields
}

func NewYencDecoder

func NewYencDecoder(r io.Reader) *YencDecoder

func (*YencDecoder) DiscardHeader

func (d *YencDecoder) DiscardHeader() error

func (*YencDecoder) Read

func (d *YencDecoder) Read(p []byte) (n int, err error)

func (*YencDecoder) Verify

func (d *YencDecoder) Verify() error

Jump to

Keyboard shortcuts

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