mirror of
https://git.sfja.dk/Mikkel/slige.git
synced 2025-01-18 12:46:31 +00:00
fix bufferedwriter::write(u8)
This commit is contained in:
parent
7b151e1faf
commit
803230840b
@ -23,6 +23,7 @@ auto sliger::rpc::BufferedWriter::write(uint8_t byte) -> Res<Unit>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this->buffer[this->occupied] = byte;
|
this->buffer[this->occupied] = byte;
|
||||||
|
this->occupied += 1;
|
||||||
return Unit {};
|
return Unit {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user