Defile.readBE

A templated wrapper for the PHYSFS_readSBE/UBE* functions.

This method only accepts values that are of any integral type except byte and ubyte.

struct Defile
T
readBE
(
T
)
(
)
if (
isIntegral!T &&
!is(T == byte)
&&
!is(T == ubyte)
)

Return Value

Type: T

A value of type T in big endian byte order.

Throws

DefileException if an error occurs.

Meta