Implement generated packet wire codecs (#47)
Some checks failed
Native code generation / deterministic (push) Successful in 4m29s
Imaging and meshing gate / native (push) Failing after 16s
JPEG 2000 feature / linux (push) Failing after 59s
Skia feature / linux (push) Failing after 1m37s

This commit is contained in:
2026-08-09 08:16:32 +00:00
parent 5bc22bdd83
commit 74801c3488
16 changed files with 87505 additions and 25470 deletions

View File

@@ -381,8 +381,8 @@ fn packet_to_bytes_multiple() {
)
.expect("Packet BuildPacket");
assert_eq!(built.type_, PacketType::DirPlacesReply);
end = packet_data.len() as i32 - 1;
let packet = DirPlacesReplyPacket::new_with_bytes_int32(packet_data, &mut end)
let mut start = 0;
let packet = DirPlacesReplyPacket::new_with_bytes_int32(packet_data, &mut start)
.expect("DirPlacesReplyPacket byte constructor");
assert_eq!(
packet