Unit PasDoc_StreamUtils

Description

A few stream utility functions.

TBufferedStream, TStreamReader and TStreamWriter by Arno Garrels.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TBufferedStream  

Functions and Procedures

function StreamReadLine(const AStream: TStream): AnsiString;
procedure StreamWriteLine(const AStream: TStream; const AString: AnsiString);
procedure StreamWriteString(const AStream: TStream; const AString: AnsiString);

Constants

DEFAULT_BUFSIZE = 4096;
MIN_BUFSIZE = 128;
MAX_BUFSIZE = 1024 * 64;

Description

Functions and Procedures

function StreamReadLine(const AStream: TStream): AnsiString;
 
procedure StreamWriteLine(const AStream: TStream; const AString: AnsiString);

Write AString contents, then LineEnding to AStream

procedure StreamWriteString(const AStream: TStream; const AString: AnsiString);

Just write AString contents to AStream

Constants

DEFAULT_BUFSIZE = 4096;
 
MIN_BUFSIZE = 128;
 
MAX_BUFSIZE = 1024 * 64;
 

Authors


Generated by PasDoc 0.16.0.