mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 18:44:12 +02:00
borrowed data
This commit is contained in:
parent
fed1da5cb0
commit
a4ddd586dd
27 changed files with 181 additions and 176 deletions
|
|
@ -293,7 +293,7 @@ impl SendPropFlags {
|
|||
}
|
||||
}
|
||||
|
||||
impl BitRead<LittleEndian> for SendPropFlags {
|
||||
impl BitRead<'_, LittleEndian> for SendPropFlags {
|
||||
fn read(stream: &mut Stream) -> ReadResult<Self> {
|
||||
// since all 16 bits worth of flags are used there are no invalid flags
|
||||
Ok(SendPropFlags(BitFlags::from_bits_truncate(stream.read()?)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue