Write data to the stream.
Source position: base64.pp line 60
public function TBase64EncodingStream.Write( |
const Buffer; |
Count: LongInt |
):LongInt; override; |
Buffer |
|
Buffer with data to write. |
Count |
|
Number of bytes from buffer to write. |
Number of bytes from buffer actually used.
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.
If there is an error writing to the destination stream, an error may occur.
|
Position the stream. |
|