diff --git a/Handle/BNBinaryReader.cs b/Handle/BNBinaryReader.cs index 75a422a..072f8b7 100644 --- a/Handle/BNBinaryReader.cs +++ b/Handle/BNBinaryReader.cs @@ -7,7 +7,7 @@ namespace BinaryNinja { - public sealed class BinaryReader : AbstractSafeHandle + public sealed class BinaryReader : AbstractSafeHandle { public BinaryReader(BinaryView view) : this(NativeMethods.BNCreateBinaryReader(view.DangerousGetHandle()) , true) @@ -243,7 +243,7 @@ public bool ReadData(byte[] buffer) public long? ReadInt64() { - bool ok = NativeMethods.BNReadLE64(this.handle, out ulong slug); + bool ok = NativeMethods.BNRead64(this.handle, out ulong slug); if (!ok) { @@ -374,7 +374,7 @@ public bool ReadData(byte[] buffer) public ulong? ReadUInt64() { - bool ok = NativeMethods.BNReadLE64(this.handle, out ulong slug); + bool ok = NativeMethods.BNRead64(this.handle, out ulong slug); if (!ok) {