public async Task <int> BuildCompressedChunkBlockData(ByteArrayReader reader)
        {
            UncompressedSize = reader.Remaining;

            byte[] compressed = await reader.Compress();

            CompressedData = ByteArrayReader.CreateNew(compressed, 0);

            await CompressedData.Encrypt(); // TODO: Fix this to use the flag

            CompressedSize = CompressedData.Remaining;

            return(CompressedSize + sizeof(int) * 2);
        }