TryReadBe() public method

public TryReadBe ( long imageOffset, PrimitiveType type, Constant &c ) : bool
imageOffset long
type PrimitiveType
c Constant
return bool
示例#1
0
        public bool TryReadBe(PrimitiveType dataType, out Constant c)
        {
            bool ret = image.TryReadBe(off, dataType, out c);

            if (ret)
            {
                off += (uint)dataType.Size;
            }
            return(ret);
        }
示例#2
0
 public override bool TryRead(MemoryArea mem, Address addr, PrimitiveType dt, out Constant value)
 {
     return(mem.TryReadBe(addr, dt, out value));
 }