mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:07:45 +00:00
LibCompress: Return Optional from decompress_all method.
This commit is contained in:
parent
7e02cad476
commit
4af8eea56f
7 changed files with 22 additions and 20 deletions
|
@ -94,7 +94,7 @@ public:
|
|||
bool discard_or_error(size_t) override;
|
||||
bool eof() const override;
|
||||
|
||||
static ByteBuffer decompress_all(ReadonlyBytes);
|
||||
static Optional<ByteBuffer> decompress_all(ReadonlyBytes);
|
||||
|
||||
private:
|
||||
u32 decode_run_length(u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue