Documentation ¶
Index ¶
- Variables
- func LdRead(r io.Reader, zeroLenAsEOF bool, maxReadBytes uint64) ([]byte, error)
- func LdReadSize(r io.Reader, zeroLenAsEOF bool, maxReadBytes uint64) (uint64, error)
- func LdSize(d ...[]byte) uint64
- func LdWrite(w io.Writer, d ...[]byte) error
- func ReadNode(r io.Reader, zeroLenAsEOF bool, maxReadBytes uint64) (cid.Cid, []byte, error)
- type BytesReader
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHeaderTooLarge = errors.New("invalid header data, length of read beyond allowable maximum")
View Source
var ErrSectionTooLarge = errors.New("invalid section data, length of read beyond allowable maximum")
Functions ¶
func LdReadSize ¶
Types ¶
type BytesReader ¶
type BytesReader interface { io.Reader io.ByteReader }
Click to show internal directories.
Click to hide internal directories.