| 55 | uint8_t ReadUInt8() { return ReadChecked<uint8_t>(); } |
| 56 | |
| 57 | uint32_t ReadUInt32(bool swap) { |
| 58 | auto value = ReadChecked<uint32_t>(); |
| 59 | if (swap) { |
| 60 | return ::arrow::bit_util::ByteSwap(value); |
| 61 | } else { |
| 62 | return value; |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | template <typename Coord, typename Visit> |
| 67 | void ReadCoords(uint32_t n_coords, bool swap, Visit&& visit) { |
no test coverage detected