コード例 #1
0
        public static async Task <T> DecompressAndMerge <T>(this IAsyncEnumerable <CompressedMessageChunkModel> payLoadAsync)
        {
            var compressedData = await payLoadAsync.CombineItAsync();

            var uncompressedData = compressedData.Decompress();

            return(ProtoBuf.Serializer.Deserialize <T>(uncompressedData));
        }