Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New produces a reader that produces the provided reader's bytes with a suffix of NUL bytes.
func PaddedSize ¶
func PaddedSize(size uint64) abi.UnpaddedPieceSize
PaddedSize takes size to the next power of two and then returns the number of not-bit-padded bytes that would fit into a sector of that size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.