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

Function writeBoolListValues

go/fory/slice_primitive_list.go:438–442  ·  view source on GitHub ↗
(buf *ByteBuffer, value []bool)

Source from the content-addressed store, hash-verified

436}
437
438func writeBoolListValues(buf *ByteBuffer, value []bool) {
439 if len(value) > 0 {
440 buf.WriteBinary(unsafe.Slice((*byte)(unsafe.Pointer(&value[0])), len(value)))
441 }
442}
443
444func primitiveListByteSize(length int, elemSize int, err *Error) (int, bool) {
445 if length < 0 {

Callers 1

writeValuesMethod · 0.85

Calls 2

SliceMethod · 0.80
WriteBinaryMethod · 0.45

Tested by

no test coverage detected