TBase64EncodingStream.Write function
Write data to the stream.
Declaration
function Write(const Buffer; Count: LongInt): LongInt; overrideArguments
Buffer | Buffer with data to write. |
Count | Number of bytes from buffer to write. |
Function result
Number of bytes from buffer actually used.
Description
Write encodes
Count bytes from
Buffer using
the Base64 mechanism, and then writes the encoded data to the destination
stream. It returns the number of bytes from
Buffer that were
actually written. Note that this is not the number of bytes written to the
destination stream: the base64 mechanism writes more bytes to the
destination stream.Errors
If there is an error writing to the destination stream, an error may occur.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
