writeScalar

Writes a scalar variable to the stream preserving the stream endianness

@trusted
void
writeScalar
(
T
)
if (
isScalarType!(T)
)

Parameters

s StreamInterface

The stream

var T

The variable to write

Meta