Unit 'streamex' Package
[Overview][Constants][Classes][Index] [#fcl]

TStreamHelper.WriteSingle

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

Declaration

Source position: streamex.pp line 342

procedure TStreamHelper.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

TStreamHelper.ReadSingle

  

Read a single-precision floating point value from the stream.

TStreamHelper.WriteDouble

  

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


Documentation generated on: Nov 23 2024