namespace Keystone
{
///
/// Defines an encoded instruction or group of instructions.
///
public sealed class EncodedData
{
///
/// Constructs the encoded data.
///
internal EncodedData(byte[] buffer, int statementCount, ulong address)
{
Buffer = buffer;
Address = address;
StatementCount = statementCount;
}
///
/// Gets the address of the first instruction for this operation.
///
public ulong Address { get; }
///
/// Gets the result of an assembly operation.
///
public byte[] Buffer { get; }
///
/// Gets the number of statements found.
///
public int StatementCount { get; }
}
}