raw

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "raw"

Name holds the name of the Format.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

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

Format represents the raw type format.

func New

func New(input input.Input) *Format

New creates a new Format of type raw.

func (*Format) Name

func (f *Format) Name() string

Name returns the formats name.

func (*Format) OutputFileName

func (f *Format) OutputFileName(x byte) string

OutputFileName returns the file name for the given x.

func (*Format) Reader

func (f *Format) Reader(r io.Reader) (io.Reader, error)

Reader creates a new Format reader using the given reader as input.

func (*Format) Writer

func (f *Format) Writer(x byte) (io.Writer, []io.Closer, error)

Writer creates a new raw format writer for the part identified by x.

Jump to

Keyboard shortcuts

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