fr32

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MTTresh = uint64(512 << 10)

Functions

func BufSize added in v1.13.2

func BufSize(sz abi.PaddedPieceSize) int

func NewPadWriter

func NewPadWriter(dst io.Writer) io.WriteCloser

func NewUnpadReader

func NewUnpadReader(src io.Reader, sz abi.PaddedPieceSize) (io.Reader, error)

func NewUnpadReaderBuf added in v1.13.2

func NewUnpadReaderBuf(src io.Reader, sz abi.PaddedPieceSize, buf []byte) (io.Reader, error)

func Pad

func Pad(in, out []byte)

func Unpad

func Unpad(in []byte, out []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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