Function readAddressChecked [src]

Prototype

pub fn readAddressChecked( fbr: *FixedBufferReader, format: std.dwarf.Format, ma: *MemoryAccessor, ) Error!u64

Parameters

fbr: *FixedBufferReaderformat: std.dwarf.Formatma: *MemoryAccessor

Possible Errors

EndOfBuffer
InvalidBuffer
Overflow

Source

pub fn readAddressChecked( fbr: *FixedBufferReader, format: std.dwarf.Format, ma: *MemoryAccessor, ) Error!u64 { return switch (format) { .@"32" => try fbr.readIntChecked(u32, ma), .@"64" => try fbr.readIntChecked(u64, ma), }; }