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; } }