{"url":"https://kagasu.hatenablog.com/entry/2022/02/05/032938","author_name":"kagasu","provider_name":"Hatena Blog","title":"C#\u3067LZ4\u3092\u5229\u7528\u3057\u3066\u5727\u7e2e\u5c55\u958b\u3059\u308b\u65b9\u6cd5","categories":["C#"],"blog_title":"\u5099\u5fd8\u9332","version":"1.0","published":"2022-02-05 03:29:38","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300cC#\u3067LZ4\u3092\u5229\u7528\u3057\u3066\u5727\u7e2e\u5c55\u958b\u3059\u308b\u65b9\u6cd5\u300d\u3067\u3059\u3002 \u2161. \u624b\u9806 1. \u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092NuGet\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b dotnet add package K4os.Compression.LZ4 --version 1.3.5 2. \u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f Program.cs using K4os.Compression.LZ4; var originalBytes = Encoding.UTF8.GetBytes(\"hello world\"); // \u5727\u7e2e var encodedBytes = new byte[256]; var length = LZ4\u2026","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2022%2F02%2F05%2F032938\" title=\"C#\u3067LZ4\u3092\u5229\u7528\u3057\u3066\u5727\u7e2e\u5c55\u958b\u3059\u308b\u65b9\u6cd5 - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"width":"100%","author_url":"https://blog.hatena.ne.jp/kagasu/","provider_url":"https://hatena.blog","height":"190","blog_url":"https://kagasu.hatenablog.com/"}