Files
Apr2020-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Utilities/IO/TeeOutputStream.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

60 lines
1.8 KiB
C#

using System;
using System.IO;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.IO
{
// Token: 0x02001941 RID: 6465
[Token(Token = "0x2001941")]
public class TeeOutputStream : BaseOutputStream
{
// Token: 0x06009981 RID: 39297 RVA: 0x001FD674 File Offset: 0x001FB874
[Token(Token = "0x6009981")]
[Address(RVA = "0x18E8230", Offset = "0x18E7030", VA = "0x1818E8230")]
public TeeOutputStream(Stream output, Stream tee)
{
this.output = output;
this.tee = tee;
}
// Token: 0x06009982 RID: 39298 RVA: 0x001FD698 File Offset: 0x001FB898
[Token(Token = "0x6009982")]
[Address(RVA = "0x18E80A0", Offset = "0x18E6EA0", VA = "0x1818E80A0", Slot = "15")]
public override void Close()
{
int writeTimeout = this.output.WriteTimeout;
int writeTimeout2 = this.tee.WriteTimeout;
this.closed = true;
base.Close();
}
// Token: 0x06009983 RID: 39299 RVA: 0x001FD6D0 File Offset: 0x001FB8D0
[Token(Token = "0x6009983")]
[Address(RVA = "0x18E81A0", Offset = "0x18E6FA0", VA = "0x1818E81A0", Slot = "29")]
public override void Write(byte[] buffer, int offset, int count)
{
int num = this.output.ReadByte();
bool canRead = this.tee.CanRead;
}
// Token: 0x06009984 RID: 39300 RVA: 0x001FD6FC File Offset: 0x001FB8FC
[Token(Token = "0x6009984")]
[Address(RVA = "0x18E8140", Offset = "0x18E6F40", VA = "0x1818E8140", Slot = "30")]
public override void WriteByte(byte b)
{
Stream stream = this.output;
bool canRead = this.tee.CanRead;
}
// Token: 0x04006872 RID: 26738
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4006872")]
private readonly Stream output;
// Token: 0x04006873 RID: 26739
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4006873")]
private readonly Stream tee;
}
}