[Overview][Constants][Classes][Index] | Reference for unit 'streamex' (#fcl)

# TStreamHelper.WriteSingle

Write a single-precision floating point value to the stream

## Declaration

Source position: streamex.pp line 198

`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: May 14 2021