Function readStructEndian [src]

Prototype

pub inline fn readStructEndian(self: Self, comptime T: type, endian: std.builtin.Endian) NoEofError!T

Parameters

self: SelfT: typeendian: std.builtin.Endian

Possible Errors

EndOfStream

Source

pub inline fn readStructEndian(self: Self, comptime T: type, endian: std.builtin.Endian) NoEofError!T { return @errorCast(self.any().readStructEndian(T, endian)); }