Versions in this module Expand all Collapse all v2 v2.1.0 Aug 22, 2022 Changes in this version + func IsBinary(r io.Reader) (bool, error) + func Read(r io.Reader, data ...interface{}) error + func ReadHash(r io.Reader) (plumbing.Hash, error) + func ReadUint16(r io.Reader) (uint16, error) + func ReadUint32(r io.Reader) (uint32, error) + func ReadUint64(r io.Reader) (uint64, error) + func ReadUntil(r io.Reader, delim byte) ([]byte, error) + func ReadUntilFromBufioReader(r *bufio.Reader, delim byte) ([]byte, error) + func ReadVariableWidthInt(r io.Reader) (int64, error) + func Write(w io.Writer, data ...interface{}) error + func WriteUint16(w io.Writer, value uint16) error + func WriteUint32(w io.Writer, value uint32) error + func WriteUint64(w io.Writer, value uint64) error + func WriteVariableWidthInt(w io.Writer, n int64) error