public override void Write(byte[] data, int offset, int count) { Dest.Write(SessionCryptoService.ProcessBytes(data, offset, count), offset, count); }
public override void Write(byte[] data) { Dest.Write(SessionCryptoService.ProcessBytes(data, 0)); }
public override byte[] PeekBytes(int count) { return(SessionCryptoService.ProcessBytes(Source.PeekBytes(count), 0)); }
public override byte[] ReadAllBytes() { return(SessionCryptoService.ProcessBytes(Source.ReadAllBytes(), 0)); }
/// <inheritdoc /> public async Task <byte[]> PeekBytesAsync(int count) { return(SessionCryptoService.ProcessBytes(await Source.PeekBytesAsync(count), 0)); }
/// <inheritdoc /> public async Task <byte[]> ReadAllBytesAsync() { return(SessionCryptoService.ProcessBytes(await Source.ReadAllBytesAsync(), 0)); }