Documentation ¶
Index ¶
- Variables
- func BufSize(sz abi.PaddedPieceSize) int
- func NewPadWriter(dst io.Writer) io.WriteCloser
- func NewUnpadReader(src io.Reader, sz abi.PaddedPieceSize) (io.Reader, error)
- func NewUnpadReaderBuf(src io.Reader, sz abi.PaddedPieceSize, buf []byte) (io.Reader, error)
- func Pad(in, out []byte)
- func Unpad(in []byte, out []byte)
Constants ¶
This section is empty.
Variables ¶
View Source
var MTTresh = uint64(512 << 10)
Functions ¶
func BufSize ¶
func BufSize(sz abi.PaddedPieceSize) int
func NewPadWriter ¶
func NewPadWriter(dst io.Writer) io.WriteCloser
func NewUnpadReader ¶
func NewUnpadReaderBuf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.