(buf *ByteBuffer, value []int32)
| 601 | } |
| 602 | |
| 603 | func writeInt32FixedListValues(buf *ByteBuffer, value []int32) { |
| 604 | size := len(value) * 4 |
| 605 | if len(value) > 0 { |
| 606 | if isLittleEndian { |
| 607 | buf.WriteBinary(unsafe.Slice((*byte)(unsafe.Pointer(&value[0])), size)) |
| 608 | } else { |
| 609 | for _, v := range value { |
| 610 | buf.WriteInt32(v) |
| 611 | } |
| 612 | } |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | func readInt32ListValues(buf *ByteBuffer, err *Error, length int, hasNull bool, typeID TypeId) []int32 { |
| 617 | result := make([]int32, length) |
no test coverage detected