#packets #osu #bancho #serialization #channel #join #success

bancho-packet

Library for handling osu!'s packets

2 unstable releases

0.2.0 Jan 7, 2023
0.1.0 Jan 4, 2023

#1323 in Encoding

GPL-3.0 license

20KB
567 lines

bancho-packets

Packet Serializer and Deserializer for osu!

example writing usage

use bancho_packets::*;
...
let mut buffer = BytesMut::new();
bancho_packet::bancho_channel_join_success(&mut buffer, "#osu");
...

example reading usage (assuming in_buf is a BytesMut with packets)

use bancho_packets::*;
let status = bancho_packet::reader::client_user_status(&mut in_buf);

Dependencies

~170KB