Skip to content

Feature: convenience method to decompress byte array #113

@epa

Description

@epa

In the documentation you helpfully give an efficient way to decompress an array of bytes.

var decoded = LZ4Frame.Decode(encoded.AsSpan(), new ArrayBufferWriter<byte>()).WrittenMemory.ToArray();

It would be handy to provide this as an overload of Decode.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions