Skip to content

TStreamHelper.WriteSingle

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

Declaration

Source position: streamex.pp line 344

procedure TStreamHelper.WriteSingle(s: Single);

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

Name Description
TStreamHelper.ReadSingle Read a single-precision floating point value from the stream.
TStreamHelper.WriteDouble Write a double-precision floating point value to the stream.