public static LiteralContextDependentNumber Parse(WordReader reader, uint wordCount, InstructionWithId type)
        {
            var typeInstruction = (TypeInstruction)type;
            var size            = typeInstruction.SizeInWords;

            return(new LiteralContextDependentNumber(new Value(reader.ReadBytes(size), typeInstruction)));
        }
示例#2
0
        public static LiteralContextDependentNumber Parse(WordReader reader, uint wordCount, TypeInstruction type)
        {
            var size = type.SizeInWords;

            return(new LiteralContextDependentNumber {
                Value = new Value(reader.ReadBytes(size), type)
            });
        }