Files
Axiom/Axiom.Core/Interpreter/CapturedCode.cs
2026-03-19 16:23:20 -04:00

18 lines
374 B
C#

using System;
namespace Axiom.Interpreter
{
public class CapturedCode
{
private readonly byte[] codeBytes;
public CapturedCode(byte[] codeBytes)
{
this.codeBytes = codeBytes ?? throw new ArgumentNullException(nameof(codeBytes));
}
public int Length => codeBytes.Length;
public byte[] Bytes => (byte[])codeBytes;
}
}