29 lines
735 B
C#
29 lines
735 B
C#
using System;
|
|
using System.IO;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders
|
|
{
|
|
// Token: 0x02001373 RID: 4979
|
|
[Token(Token = "0x2001373")]
|
|
[StructLayout(3)]
|
|
public interface IEncoder
|
|
{
|
|
// Token: 0x06007DF7 RID: 32247
|
|
[Token(Token = "0x6007DF7")]
|
|
[Address(Slot = "0")]
|
|
int Encode(byte[] data, int off, int length, Stream outStream);
|
|
|
|
// Token: 0x06007DF8 RID: 32248
|
|
[Token(Token = "0x6007DF8")]
|
|
[Address(Slot = "1")]
|
|
int Decode(byte[] data, int off, int length, Stream outStream);
|
|
|
|
// Token: 0x06007DF9 RID: 32249
|
|
[Token(Token = "0x6007DF9")]
|
|
[Address(Slot = "2")]
|
|
int DecodeString(string data, Stream outStream);
|
|
}
|
|
}
|