fn readIntForeign(self: Self, comptime T: type) Error || error{EndOfStream}!T

Reads a foreign-endian integer

Parameters

self: Self,
T: type,