status-go/vendor/github.com/andybalholm/brotli
Mikhail Rogachev 511d6bfc54
feat: add parsing for new links format (#3665)
* feat(share-links): Add protobuf and encode/decode url data methods

* feat(new-links-format): Adds generators for new links format

* feat: add parsing for new links format

* feat: add messenger-level pubkey serialization and tests

* feat: fix and test CreateCommunityURLWithChatKey

* feat: impl and test parseCommunityURLWithChatKey

* feat: fix and test CreateCommunityURLWithData

* feat:  impl and test parseCommunityURLWithData (not working)

* feat: UrlDataResponse as response share urls api

* feat: impl& tested ShareCommunityChannelURLWithChatKey

* feat: impl & tested ParseCommunityChannelURLWithChatKey

* fix: bring urls to new format

* feat: add regexp for community channel urls

* feat: impl & test contact urls with chatKey, Ens and data

* fix: encodeDataURL/encodeDataURL patch from Samyoul

* fix: fix unmarshalling protobufs

* fix: fix minor issues, temporary comment TestParseUserURLWithENS

* fix: allow url to contain extra `#` in the signature

* fix: check signatures with SigToPub

* chore: lint fixes

* fix: encode the signature

* feat: Check provided channelID is Uuid

* fix(share-community-url): Remove if community encrypted scope

* fix: review fixes

* fix: use proto.Unmarshal instead of json.Marshal

* feat(share-urls): Adds TagsIndices to community data

* feat: support tag indices to community url data

---------

Co-authored-by: Boris Melnik <borismelnik@status.im>
2023-07-04 17:48:52 +04:00
..
LICENSE
README.md
backward_references.go
backward_references_hq.go
bit_cost.go
bit_reader.go
block_splitter.go
block_splitter_command.go
block_splitter_distance.go
block_splitter_literal.go
brotli_bit_stream.go
cluster.go
cluster_command.go
cluster_distance.go
cluster_literal.go
command.go
compress_fragment.go
compress_fragment_two_pass.go
constants.go
context.go
decode.go
dictionary.go
dictionary_hash.go
encode.go
encoder_dict.go
entropy_encode.go
entropy_encode_static.go
fast_log.go
find_match_length.go
h5.go
h6.go
h10.go
hash.go
hash_composite.go
hash_forgetful_chain.go
hash_longest_match_quickly.go
hash_rolling.go
histogram.go
http.go
huffman.go
literal_cost.go
memory.go
metablock.go
metablock_command.go
metablock_distance.go
metablock_literal.go
params.go
platform.go
prefix.go
prefix_dec.go
quality.go
reader.go
ringbuffer.go
state.go
static_dict.go
static_dict_lut.go
symbol_list.go
transform.go
utf8_util.go
util.go
write_bits.go
writer.go

README.md

This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli) with the c2go tool at https://github.com/andybalholm/c2go.

I am using it in production with https://github.com/andybalholm/redwood.

API documentation is found at https://pkg.go.dev/github.com/andybalholm/brotli?tab=doc.