gбновление зависимостей, рефакторинг кода, чтобы он выглядел как гошный проект
This commit is contained in:
6
vendor/github.com/DataDog/zstd/README.md
generated
vendored
6
vendor/github.com/DataDog/zstd/README.md
generated
vendored
@@ -6,8 +6,8 @@
|
||||
|
||||
[C Zstd Homepage](https://github.com/facebook/zstd)
|
||||
|
||||
The current headers and C files are from *v1.5.0* (Commit
|
||||
[10f0e699](https://github.com/facebook/zstd/releases/tag/v1.5.0)).
|
||||
The current headers and C files are from *v1.5.7* (Commit
|
||||
[f8745da](https://github.com/facebook/zstd/releases/tag/v1.5.7)).
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -41,7 +41,7 @@ go build -tags external_libzstd
|
||||
// Compress compresses the byte array given in src and writes it to dst.
|
||||
// If you already have a buffer allocated, you can pass it to prevent allocation
|
||||
// If not, you can pass nil as dst.
|
||||
// If the buffer is too small, it will be reallocated, resized, and returned bu the function
|
||||
// If the buffer is too small, it will be reallocated, resized, and returned by the function
|
||||
// If dst is nil, this will allocate the worst case size (CompressBound(src))
|
||||
Compress(dst, src []byte) ([]byte, error)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user