bancho-packet

Crates.iobancho-packet
lib.rsbancho-packet
version0.2.0
sourcesrc
created_at2023-01-04 17:42:30.609956
updated_at2023-01-07 03:46:04.105219
descriptionLibrary for handling osu!'s packets
homepage
repository
max_upload_size
id750984
size54,663
Maya Copeland (mayacopeland)

documentation

README

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);
Commit count: 0

cargo fmt