public async Task DecodeAsync_WalrusEncodedAsMultipleRecordsWithoutPadding_DecodesWalrusContent()
        {
            byte[] contentToDecode = Convert.FromBase64String(WALRUS_CONTENT_ENCODED_AS_MULTIPLE_RECORDS_WITHOUT_PADDING_BASE64);

            string decodedContent = null;

            using (MemoryStream source = new MemoryStream(contentToDecode))
            {
                using (MemoryStream destination = new MemoryStream())
                {
                    await Aes128GcmEncoding.DecodeAsync(source, destination, (keyId) => KEYS[keyId ?? DEFAULT_KEY_ID]);

                    decodedContent = Encoding.UTF8.GetString(destination.ToArray());
                }
            }

            Assert.Equal(WALRUS_CONTENT, decodedContent);
        }
 public Task DecodeMultipleRecordsAsync()
 {
     _decodeMultipleRecordsSource.Seek(0, SeekOrigin.Begin);
     return(Aes128GcmEncoding.DecodeAsync(_decodeMultipleRecordsSource, Stream.Null, (string keyId) => KEY));
 }