コード例 #1
0
 public override void Write(byte[] data, int offset, int count)
 {
     Dest.Write(SessionCryptoService.ProcessBytes(data, offset, count), offset, count);
 }
コード例 #2
0
 public override void Write(byte[] data)
 {
     Dest.Write(SessionCryptoService.ProcessBytes(data, 0));
 }
コード例 #3
0
 public override byte[] PeekBytes(int count)
 {
     return(SessionCryptoService.ProcessBytes(Source.PeekBytes(count), 0));
 }
コード例 #4
0
 public override byte[] ReadAllBytes()
 {
     return(SessionCryptoService.ProcessBytes(Source.ReadAllBytes(), 0));
 }
コード例 #5
0
 /// <inheritdoc />
 public async Task <byte[]> PeekBytesAsync(int count)
 {
     return(SessionCryptoService.ProcessBytes(await Source.PeekBytesAsync(count), 0));
 }
コード例 #6
0
 /// <inheritdoc />
 public async Task <byte[]> ReadAllBytesAsync()
 {
     return(SessionCryptoService.ProcessBytes(await Source.ReadAllBytesAsync(), 0));
 }