bytes2

package
v0.0.0-...-436d200 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max(a, b []byte) []byte

func Min

func Min(a, b []byte) []byte

Types

type MultiChunksReader

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

func NewMultiChunksReader

func NewMultiChunksReader(chunks [][]byte) *MultiChunksReader

func (*MultiChunksReader) Read

func (reader *MultiChunksReader) Read(buf []byte) (int, error)

func (*MultiChunksReader) Seek

func (reader *MultiChunksReader) Seek(offset int64, whence int) (int64, error)

NOTE: Seeking behavior EOF is valid. This matches the behavior of bytes.Reader.Seek

func (*MultiChunksReader) Size

func (reader *MultiChunksReader) Size() int64

Jump to

Keyboard shortcuts

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