public static void ByteArraySize(Forth f) { byte[] bArr = f.PopByteArray(); f.PushInt64((long)(bArr.Length)); }
public static void ByteArrayAt(Forth f) { byte[] bArr = f.PopByteArray(); long index = f.PopInt64(); if (index < 0 || index > ((long)(bArr.Length))) throw new IndexOutOfRangeException("Index " + index + " must be 0 to " + bArr.Length); f.PushInt64((long)(bArr[(int)index])); }