decoder

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package decoder reads pxar archives.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

Decoder reads pxar archives sequentially.

func NewDecoder

func NewDecoder(input io.Reader, payloadReader io.Reader) *Decoder

NewDecoder creates a new pxar decoder.

func (*Decoder) Contents

func (d *Decoder) Contents() io.Reader

Contents returns a reader for the current file's content.

func (*Decoder) Next

func (d *Decoder) Next() (*pxar.Entry, error)

Next returns the next entry, or io.EOF when done.

Jump to

Keyboard shortcuts

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