serializer

package
v3.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Int16Size   = int(common.Int16Size)
	Int32Size   = int(common.Int32Size)
	Int64Size   = int(common.Int64Size)
	UInt16Size  = int(common.UInt16Size)
	UInt32Size  = int(common.UInt32Size)
	UInt64Size  = int(common.UInt64Size)
	Float32Size = int(common.Float32Size)
	Float64Size = int(common.Float64Size)
)

Variables

View Source
var ColumnNumerNotMatch = errors.New("number of columns does not match")
View Source
var DataTypeWrong = errors.New("wrong data type")

Functions

func BMSetNull

func BMSetNull(c byte, n int) byte

func BitPos

func BitPos(n int) int

func BitmapLen

func BitmapLen(n int) int

func CharOffset

func CharOffset(n int) int

func SerializeRawBlock

func SerializeRawBlock(params []*param.Param, colType *param.ColumnType) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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