chdecompressor

package
Version: v0.0.0-...-a3746f9 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: MIT Imports: 4 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL