Sign in Join
FPDoc Onlineexperiment

TStreamHelper.WriteSingle procedure

Member of TStreamHelperIn unit StreamEx

Write a single-precision floating point value to the stream.

Declaration

pascal
procedure WriteSingle(s: Single)

Arguments

s

Value to write to the stream.

Description

WriteSingle writes the single-precision floating point value S to the stream. No endianness corrections are performed.

Errors

If not all bytes can be written, an EWriteError exception is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.