package packstream
Import Path
github.com/neo4j/neo4j-go-driver/v4/neo4j/internal/packstream (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
Involved Source Files
Package packstream handles serialization of data sent to database server and
deserialization of data received from database server.
packer.go
unpacker.go
Package-Level Type Names (total 6, in which 5 are exported)
buf []byte
err error
(*T) ArrayHeader(l int)
(*T) Begin(buf []byte)
(*T) Bool(b bool)
(*T) Bytes(b []byte)
(*T) End() ([]byte, error)
(*T) Float32(f float32)
(*T) Float64(f float64)
(*T) Float64s(ii []float64)
(*T) Int(i int)
(*T) Int16(i int16)
(*T) Int32(i int32)
(*T) Int64(i int64)
(*T) Int64s(ii []int64)
(*T) Int8(i int8)
(*T) IntMap(m map[string]int)
(*T) Ints(ii []int)
(*T) MapHeader(l int)
(*T) Nil()
(*T) String(s string)
(*T) StringMap(m map[string]string)
(*T) Strings(ss []string)
(*T) StructHeader(tag byte, num int)
(*T) Uint16(i uint16)
(*T) Uint32(i uint32)
(*T) Uint64(i uint64)
(*T) Uint8(i uint8)
(*T) checkOverflowInt(i uint64)
(*T) listHeader(ll int, shortOffset, longOffset byte)
(*T) setErr(err error)
// Packed type
Err error
buf []byte
len uint32
mrk marker
off uint32
(*T) Bool() bool
(*T) ByteArray() []byte
(*T) Float() float64
(*T) Int() int64
(*T) Len() uint32
(*T) Next()
(*T) Reset(buf []byte)
(*T) String() string
(*T) StructTag() byte
(*T) pop() byte
(*T) read(n uint32) []byte
(*T) readlen(n uint32) uint32
(*T) setErr(err error)
*T : fmt.Stringer
*T : context.stringer
*T : runtime.stringer
Package-Level Functions (only one, which is unexported)
Package-Level Variables (only one, which is unexported)
Package-Level Constants (total 11, all are exported)
const PackedArray = 6 const PackedByteArray = 5 const PackedFalse = 10 const PackedFloat = 2 const PackedInt = 1 const PackedMap = 7 const PackedNil = 8 const PackedStr = 3 const PackedStruct = 4 const PackedTrue = 9 const PackedUndef = 0 // Undefined must be zero!![]() |
The pages are generated with Golds v0.4.2. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |