record

package
v0.0.0-...-9da9337 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseReader

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

func (*BaseReader) NextChunk

func (reader *BaseReader) NextChunk(expectNum int) error

expectNum为期望这个chunk的内容大小,expectNum>=blockSize表示尽可能多的读取(在读取full和mid时候)

func (*BaseReader) ReadRecord

func (reader *BaseReader) ReadRecord() ([]byte, error)

func (*BaseReader) Recover

func (reader *BaseReader) Recover() error

type BaseWriter

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

BaseWriter 最基础的记录写入工具

Jump to

Keyboard shortcuts

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