file

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGzipCompressionLevel = gzip.DefaultCompression
)
View Source
const (
	DefaultLz4CompressionLevel = 0
)
View Source
const (
	DefaultZstdCompressionLevel = gozstd.DefaultCompressionLevel
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GzipWrite

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

func (*GzipWrite) Close

func (g *GzipWrite) Close() error

func (*GzipWrite) Flush

func (g *GzipWrite) Flush() error

func (*GzipWrite) NewWriter

func (g *GzipWrite) NewWriter(w io.Writer) (err error)

func (*GzipWrite) Reset

func (g *GzipWrite) Reset(w io.Writer)

func (*GzipWrite) Write

func (g *GzipWrite) Write(p []byte) (int, error)

func (*GzipWrite) WriteString

func (g *GzipWrite) WriteString(s string) (int, error)

type Lz4Write

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

func (*Lz4Write) Close

func (l *Lz4Write) Close() error

func (*Lz4Write) Flush

func (l *Lz4Write) Flush() error

func (*Lz4Write) NewWriter

func (l *Lz4Write) NewWriter(w io.Writer) (err error)

func (*Lz4Write) Reset

func (l *Lz4Write) Reset(w io.Writer)

func (*Lz4Write) Write

func (l *Lz4Write) Write(p []byte) (int, error)

func (*Lz4Write) WriteString

func (l *Lz4Write) WriteString(s string) (int, error)

type NoCompression

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

func (*NoCompression) Close

func (l *NoCompression) Close() error

func (*NoCompression) Flush

func (l *NoCompression) Flush() error

func (*NoCompression) NewWriter

func (l *NoCompression) NewWriter(w io.Writer) (err error)

func (*NoCompression) Reset

func (l *NoCompression) Reset(w io.Writer)

func (*NoCompression) Write

func (l *NoCompression) Write(p []byte) (int, error)

func (*NoCompression) WriteString

func (l *NoCompression) WriteString(s string) (int, error)

type SnappyWrite

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

func (*SnappyWrite) Close

func (s *SnappyWrite) Close() error

func (*SnappyWrite) Flush

func (s *SnappyWrite) Flush() error

func (*SnappyWrite) NewWriter

func (s *SnappyWrite) NewWriter(w io.Writer) (err error)

func (*SnappyWrite) Reset

func (s *SnappyWrite) Reset(w io.Writer)

func (*SnappyWrite) Write

func (s *SnappyWrite) Write(p []byte) (int, error)

func (*SnappyWrite) WriteString

func (s *SnappyWrite) WriteString(st string) (int, error)

type ZstdWrite

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

func (*ZstdWrite) Close

func (z *ZstdWrite) Close() error

func (*ZstdWrite) Flush

func (z *ZstdWrite) Flush() error

func (*ZstdWrite) NewWriter

func (z *ZstdWrite) NewWriter(w io.Writer) (err error)

func (*ZstdWrite) Reset

func (z *ZstdWrite) Reset(w io.Writer)

func (*ZstdWrite) Write

func (z *ZstdWrite) Write(p []byte) (int, error)

func (*ZstdWrite) WriteString

func (z *ZstdWrite) WriteString(s string) (int, error)

Jump to

Keyboard shortcuts

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