Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Handle/BNBinaryReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace BinaryNinja
{
public sealed class BinaryReader : AbstractSafeHandle<Architecture>
public sealed class BinaryReader : AbstractSafeHandle<BinaryReader>
{
public BinaryReader(BinaryView view)
: this(NativeMethods.BNCreateBinaryReader(view.DangerousGetHandle()) , true)
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down
Loading