Documentation ¶
Index ¶
- func CompressAndWriteUints32(w io.Writer, input []uint32, buffer []uint32) ([]uint32, error)
- func CompressAndWriteUints64(w io.Writer, input []uint64) error
- func ReadAndDecompressUints32(in []byte, buf32 []uint32) (outbuf32 []uint32, read int, out []uint32, err error)
- func ReadAndDecompressUints64(in []byte) (int, []uint64, error)
- type WriterCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressAndWriteUints32 ¶ added in v1.1.0
CompressAndWriteUints32 compresses a slice of uint32 and writes it to w. It returns the input buffer (possibly extended) for future use.
func CompressAndWriteUints64 ¶ added in v1.1.0
CompressAndWriteUints64 compresses a slice of uint64 and writes it to w. It returns the input buffer (possibly extended) for future use.
func ReadAndDecompressUints32 ¶ added in v1.1.0
func ReadAndDecompressUints32(in []byte, buf32 []uint32) (outbuf32 []uint32, read int, out []uint32, err error)
ReadAndDecompressUints32 reads a compressed slice of uint32 from r and decompresses it. It returns the number of bytes read, the decompressed slice and an error.
Types ¶
Click to show internal directories.
Click to hide internal directories.