fn readInt(self: Self, comptime T: type, endian: std.builtin.Endian) !T

Parameters

self: Self,
T: type,
endian: std.builtin.Endian,