Method | Description | |
---|---|---|
Clone ( ) : |
||
CreateNew ( Array bytes, ulong offset ) : |
Create a new EndianImageReader with the same endianness as this one.
|
|
CreateNew ( |
||
Read ( PrimitiveType dataType ) : Constant | ||
ReadAt ( long offset, Func action ) : T | ||
ReadCString ( DataType charType, Encoding encoding ) : StringConstant |
Reads a NUL-terminated string starting at the current position.
|
|
ReadInt16 ( ) : short | ||
ReadInt16 ( uint offset ) : short | ||
ReadInt32 ( ) : int | ||
ReadInt32 ( uint offset ) : int | ||
ReadInt64 ( ) : long | ||
ReadInt64 ( uint offset ) : long | ||
ReadLengthPrefixedString ( PrimitiveType lengthType, PrimitiveType charType, Encoding encoding ) : StringConstant |
Read a character string that is preceded by a character count.
|
|
ReadNullCharTerminator ( DataType charType ) : bool |
|
|
ReadUInt16 ( ) : ushort | ||
ReadUInt16 ( uint offset ) : ushort | ||
ReadUInt32 ( ) : uint | ||
ReadUInt32 ( uint offset ) : uint | ||
ReadUInt64 ( ) : ulong | ||
ReadUInt64 ( uint offset ) : ulong | ||
TryPeekUInt32 ( int offset, uint &value ) : bool | ||
TryRead ( PrimitiveType dataType, Constant &c ) : bool | ||
TryReadInt32 ( int &i32 ) : bool | ||
TryReadInt64 ( long &value ) : bool | ||
TryReadUInt16 ( ushort &ui16 ) : bool | ||
TryReadUInt32 ( uint &ui32 ) : bool | ||
TryReadUInt64 ( ulong &ui64 ) : bool |
Method | Description | |
---|---|---|
EndianImageReader ( Array img ) : Reko.Core.Expressions | ||
EndianImageReader ( Array img, ulong off ) : Reko.Core.Expressions | ||
EndianImageReader ( |
||
EndianImageReader ( |
||
EndianImageReader ( |
public abstract CreateNew ( Array bytes, ulong offset ) : |
||
bytes | Array | |
offset | ulong | |
return |
public abstract CreateNew ( |
||
image | ||
addr | Reko.Core.Address | |
return |
protected EndianImageReader ( Array img ) : Reko.Core.Expressions | ||
img | Array | |
return | Reko.Core.Expressions |
protected EndianImageReader ( Array img, ulong off ) : Reko.Core.Expressions | ||
img | Array | |
off | ulong | |
return | Reko.Core.Expressions |
protected EndianImageReader ( |
||
img | ||
addr | Reko.Core.Address | |
return | Reko.Core.Expressions |
protected EndianImageReader ( |
||
img | ||
addrBegin | Reko.Core.Address | |
addrEnd | Reko.Core.Address | |
return | Reko.Core.Expressions |
protected EndianImageReader ( |
||
img | ||
off | ulong | |
return | Reko.Core.Expressions |
public abstract Read ( PrimitiveType dataType ) : Constant | ||
dataType | PrimitiveType | |
return | Constant |
public ReadAt ( long offset, Func action ) : T | ||
offset | long | |
action | Func | |
return | T |
public ReadCString ( DataType charType, Encoding encoding ) : StringConstant | ||
charType | DataType | |
encoding | Encoding | |
return | StringConstant |
public abstract ReadInt16 ( uint offset ) : short | ||
offset | uint | |
return | short |
public abstract ReadInt32 ( uint offset ) : int | ||
offset | uint | |
return | int |
public abstract ReadInt64 ( uint offset ) : long | ||
offset | uint | |
return | long |
public ReadLengthPrefixedString ( PrimitiveType lengthType, PrimitiveType charType, Encoding encoding ) : StringConstant | ||
lengthType | PrimitiveType | |
charType | PrimitiveType | |
encoding | Encoding | |
return | StringConstant |
public ReadNullCharTerminator ( DataType charType ) : bool | ||
charType | DataType | |
return | bool |
public abstract ReadUInt16 ( uint offset ) : ushort | ||
offset | uint | |
return | ushort |
public abstract ReadUInt32 ( uint offset ) : uint | ||
offset | uint | |
return | uint |
public abstract ReadUInt64 ( uint offset ) : ulong | ||
offset | uint | |
return | ulong |
public abstract TryPeekUInt32 ( int offset, uint &value ) : bool | ||
offset | int | |
value | uint | |
return | bool |
public abstract TryRead ( PrimitiveType dataType, Constant &c ) : bool | ||
dataType | PrimitiveType | |
c | Constant | |
return | bool |
public abstract TryReadInt32 ( int &i32 ) : bool | ||
i32 | int | |
return | bool |
public abstract TryReadInt64 ( long &value ) : bool | ||
value | long | |
return | bool |
public abstract TryReadUInt16 ( ushort &ui16 ) : bool | ||
ui16 | ushort | |
return | bool |
public abstract TryReadUInt32 ( uint &ui32 ) : bool | ||
ui32 | uint | |
return | bool |
public abstract TryReadUInt64 ( ulong &ui64 ) : bool | ||
ui64 | ulong | |
return | bool |