chdecompressor

package
v1.26.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

Reader reads clickhouse compressed stream. See https://github.com/yandex/ClickHouse/blob/ae8783aee3ef982b6eb7e1721dac4cb3ce73f0fe/dbms/src/IO/CompressedStream.h

func NewReader

func NewReader(src io.Reader) *Reader

NewReader returns new clickhouse compressed stream reader reading from src.

func (*Reader) Read

func (r *Reader) Read(buf []byte) (int, error)

Read reads up to len(buf) bytes from clickhouse compressed stream.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL