(buf: &mut Vec<u8>, wkb_type: u32)
| 130 | } |
| 131 | |
| 132 | fn write_header(buf: &mut Vec<u8>, wkb_type: u32) { |
| 133 | buf.push(BYTE_ORDER_LE); |
| 134 | write_u32(buf, wkb_type); |
| 135 | } |
| 136 | |
| 137 | fn write_u32(buf: &mut Vec<u8>, val: u32) { |
| 138 | buf.extend_from_slice(&val.to_le_bytes()); |
no test coverage detected