MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Int64Slice

Method Int64Slice

utils/reader.go:248–255  ·  view source on GitHub ↗

Int64Slice reads an int64 slice.

()

Source from the content-addressed store, hash-verified

246
247// Int64Slice reads an int64 slice.
248func (reader *Reader) Int64Slice() []int64 {
249 count := reader.VariableUint()
250 vals := make([]int64, count)
251 for i := uint64(0); i < count; i++ {
252 vals[i] = reader.Int64()
253 }
254 return vals
255}
256
257// Uint8Slice reads a uint8 slice.
258func (reader *Reader) Uint8Slice() []uint8 {

Callers 1

TestWriterReaderFunction · 0.95

Calls 2

VariableUintMethod · 0.95
Int64Method · 0.95

Tested by 1

TestWriterReaderFunction · 0.76