public void AddInt64(long number) { var integer = new ScriptInteger(number); var bytes = integer.ToBytes(); AddData(bytes); }
public int PopInt32() { var scriptInt = new ScriptInteger(Pop(), _minimalEncoding, ScriptInteger.MathOpcodeMaxLength); return((int)scriptInt.Value); }
public void Push(int value) { var scriptInt = new ScriptInteger(value); Push(scriptInt.ToBytes()); }