package encoding
import (
"math"
"github.com/parquet-go/parquet-go/deprecated"
"github.com/parquet-go/parquet-go/format"
)
const (
MaxFixedLenByteArraySize = math .MaxInt16
)
type Encoding interface {
String () string
Encoding () format .Encoding
EncodeLevels (dst []byte , src []uint8 ) ([]byte , error )
EncodeBoolean (dst []byte , src []byte ) ([]byte , error )
EncodeInt32 (dst []byte , src []int32 ) ([]byte , error )
EncodeInt64 (dst []byte , src []int64 ) ([]byte , error )
EncodeInt96 (dst []byte , src []deprecated .Int96 ) ([]byte , error )
EncodeFloat (dst []byte , src []float32 ) ([]byte , error )
EncodeDouble (dst []byte , src []float64 ) ([]byte , error )
EncodeByteArray (dst []byte , src []byte , offsets []uint32 ) ([]byte , error )
EncodeFixedLenByteArray (dst []byte , src []byte , size int ) ([]byte , error )
DecodeLevels (dst []uint8 , src []byte ) ([]uint8 , error )
DecodeBoolean (dst []byte , src []byte ) ([]byte , error )
DecodeInt32 (dst []int32 , src []byte ) ([]int32 , error )
DecodeInt64 (dst []int64 , src []byte ) ([]int64 , error )
DecodeInt96 (dst []deprecated .Int96 , src []byte ) ([]deprecated .Int96 , error )
DecodeFloat (dst []float32 , src []byte ) ([]float32 , error )
DecodeDouble (dst []float64 , src []byte ) ([]float64 , error )
DecodeByteArray (dst []byte , src []byte , offsets []uint32 ) ([]byte , []uint32 , error )
DecodeFixedLenByteArray (dst []byte , src []byte , size int ) ([]byte , error )
EstimateDecodeByteArraySize (src []byte ) int
CanDecodeInPlace () bool
}
The pages are generated with Golds v0.8.2 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .