xcat

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Kinds [kindBzip2 + 1]string

All possible values for kind

Functions

This section is empty.

Types

type Reader added in v0.2.2

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

func NewReader

func NewReader(in io.Reader, bufSize int) (*Reader, error)

Create a new xcat.Reader. If bufSize <= 0 the default buffer size is used

func (*Reader) Kind added in v0.2.2

func (x *Reader) Kind() kind

Return the detected Kind for the wrapped io.Reader

func (*Reader) Read added in v0.2.2

func (x *Reader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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