IEncodable.cs 490 B

12345678910111213141516
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System.IO;
  4. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Utilities
  5. {
  6. public interface IEncodable
  7. {
  8. /// <summary>Return a byte array representing the implementing object.</summary>
  9. /// <returns>An encoding of this object as a byte array.</returns>
  10. /// <exception cref="IOException"/>
  11. byte[] GetEncoded();
  12. }
  13. }
  14. #pragma warning restore
  15. #endif