mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
LibCompress: Replace usages of the Endian bytes accessor
This commit is contained in:
parent
8370377832
commit
e11e7309dd
3 changed files with 5 additions and 9 deletions
|
@ -113,7 +113,7 @@ ErrorOr<void> ZlibCompressor::write_header(ZlibCompressionMethod compression_met
|
|||
|
||||
// FIXME: Support pre-defined dictionaries.
|
||||
|
||||
TRY(m_output_stream->write_until_depleted(header.as_u16.bytes()));
|
||||
TRY(m_output_stream->write_value(header.as_u16));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue