1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

update to bitstream_reader 0.7

This commit is contained in:
Robin Appelman 2020-01-07 23:19:48 +01:00
commit b7c3baee17
12 changed files with 32 additions and 66 deletions

View file

@ -1,4 +1,4 @@
use bitstream_reader::{BitRead, BitSkip, LittleEndian};
use bitstream_reader::{BitRead, LittleEndian};
use crate::{ReadResult, Stream};
@ -30,8 +30,6 @@ impl BitRead<LittleEndian> for VoiceInitMessage {
}
}
impl BitSkip<LittleEndian> for VoiceInitMessage {}
#[derive(BitRead, Debug, Clone)]
#[endianness = "LittleEndian"]
pub struct VoiceDataMessage {
@ -42,8 +40,6 @@ pub struct VoiceDataMessage {
data: Stream,
}
impl BitSkip<LittleEndian> for VoiceDataMessage {}
#[derive(Debug, Clone)]
pub struct ParseSoundsMessage {
pub reliable: bool,
@ -71,5 +67,3 @@ impl BitRead<LittleEndian> for ParseSoundsMessage {
})
}
}
impl BitSkip<LittleEndian> for ParseSoundsMessage {}