summary refs log tree commit diff
path: root/crypto/src/util/IEncodable.cs
blob: 426394f3575b68b1adf40ac1df9c7062f86422cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using System.IO;

namespace Org.BouncyCastle.Utilities
{
    public interface IEncodable
    {
        /// <summary>Return a byte array representing the implementing object.</summary>
        /// <returns>An encoding of this object as a byte array.</returns>
        /// <exception cref="IOException"/>
        byte[] GetEncoded();
    }
}