MCPcopy Create free account
hub / github.com/apache/fory / writeUint64ListValues

Function writeUint64ListValues

go/fory/slice_primitive_list.go:748–761  ·  view source on GitHub ↗
(buf *ByteBuffer, value []uint64, typeID TypeId)

Source from the content-addressed store, hash-verified

746}
747
748func writeUint64ListValues(buf *ByteBuffer, value []uint64, typeID TypeId) {
749 switch typeID {
750 case UINT64:
751 writeUint64FixedListValues(buf, value)
752 case TAGGED_UINT64:
753 for _, v := range value {
754 buf.WriteTaggedUint64(v)
755 }
756 default:
757 for _, v := range value {
758 buf.WriteVarUint64(v)
759 }
760 }
761}
762
763func writeUint64FixedListValues(buf *ByteBuffer, value []uint64) {
764 size := len(value) * 8

Callers 2

writeValuesMethod · 0.85
writeUintListValuesFunction · 0.85

Calls 3

WriteTaggedUint64Method · 0.80
WriteVarUint64Method · 0.80

Tested by

no test coverage detected