clickhouse: github.com/kshvakov/clickhouse/lib/writebuffer Index | Files

package writebuffer

import "github.com/kshvakov/clickhouse/lib/writebuffer"

Index

Package Files

buffer.go

Constants

const InitialSize = 256 * 1024

type WriteBuffer Uses

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

func New Uses

func New(initSize int) *WriteBuffer

func (*WriteBuffer) Bytes Uses

func (wb *WriteBuffer) Bytes() []byte

func (*WriteBuffer) Reset Uses

func (wb *WriteBuffer) Reset()

func (*WriteBuffer) Write Uses

func (wb *WriteBuffer) Write(data []byte) (int, error)

func (*WriteBuffer) WriteTo Uses

func (wb *WriteBuffer) WriteTo(w io.Writer) (int64, error)

Package writebuffer imports 2 packages (graph) and is imported by 1 packages. Updated 2019-08-08. Refresh now. Tools for package owners.