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
ファイル: EndianServices.cs プロジェクト: xxtxiaofeng/reko
 public override bool TryRead(MemoryArea mem, Address addr, PrimitiveType dt, out Constant value)
 {
     return(mem.TryReadBe(addr, dt, out value));
 }