(buf *ByteBuffer, value []int64)
| 704 | } |
| 705 | |
| 706 | func writeInt64FixedListValues(buf *ByteBuffer, value []int64) { |
| 707 | size := len(value) * 8 |
| 708 | if len(value) > 0 { |
| 709 | if isLittleEndian { |
| 710 | buf.WriteBinary(unsafe.Slice((*byte)(unsafe.Pointer(&value[0])), size)) |
| 711 | } else { |
| 712 | for _, v := range value { |
| 713 | buf.WriteInt64(v) |
| 714 | } |
| 715 | } |
| 716 | } |
| 717 | } |
| 718 | |
| 719 | func readInt64ListValues(buf *ByteBuffer, err *Error, length int, hasNull bool, typeID TypeId) []int64 { |
| 720 | result := make([]int64, length) |
no test coverage detected