TlsEncodeResult.cs 600 B

1234567891011121314151617181920212223
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto
  5. {
  6. public sealed class TlsEncodeResult
  7. {
  8. public readonly byte[] buf;
  9. public readonly int off, len;
  10. public readonly short recordType;
  11. public TlsEncodeResult(byte[] buf, int off, int len, short recordType)
  12. {
  13. this.buf = buf;
  14. this.off = off;
  15. this.len = len;
  16. this.recordType = recordType;
  17. }
  18. }
  19. }
  20. #pragma warning restore
  21. #endif