Unit msestream

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record cryptoclientinfoty  
Class tcustomcryptohandler  
Class tmsefilestream  
Class tcustombufstream  
Class tbufstream  
Class ttextstream  
Class ttextdatastream  
Class tresourcefilestream  
Class tcryptfilestream  
Class tstringcopystream  
Class ttextstringcopystream  
Class tmemorycopystream  
Class tstringbufferstream  
Class ttextstringbufferstream  

Functions and Procedures

function getnextbufferline(var data: pchar; len: integer): string;
function getbufferline(const data: pchar; linenr,len: integer): string;
function getkeystring(const data: pchar; len: integer; name: string): string;
procedure setfilenonblock(handle: integer; value: boolean);
procedure copyvariantarray(const source: array of const; const dest: array of pointer);
function getrecordtypechars(const fields: array of const): string;
function encodestring(const value: msestring; const encoding: charencodingty = ce_utf8): string;
function decodestring(const value: string; const encoding: charencodingty = ce_utf8): msestring;
function encoderecord(const fields: array of const; forcequote: boolean = false; const quotechar: msechar = '"'; const separator: msechar = ','): msestring;
function decoderecord(const value: msestring; const fields: array of pointer; const types: string; const quotechar: msechar = '"'; const separator: msechar = ','): boolean; overload;
function readstreamdatastring(const astream: tstream): string;
function readfiledatastring(const afilename: filenamety): string;
function tryreadfiledatastring(const afilename: filenamety; out adata: string): syserrorty;
procedure writefiledatastring(const afilename: filenamety; const adata: string);
function trywritefiledatastring(const afilename: filenamety; const adata: string): syserrorty;

Types

cryptoclientstatety = (...);
cryptoclientstatesty = set of cryptoclientstatety;
cryptohandlerdataty = array[0..32] of pointer;
pcryptoclientinfoty = ˆcryptoclientinfoty;
cryptoclientinfoarty = array of cryptoclientinfoty;
textstreamstatety = (...);
textstreamstatesty = set of textstreamstatety;
charencodingty = (...);
eolflagty = (...);
eolflagsty = set of eolflagty;
eolstylety = (...);

Constants

defaultfilerights = [s_irusr,s_iwusr,s_irgrp,s_iwgrp,s_iroth,s_iwoth];
defaultdirrights = [s_irusr,s_iwusr,s_ixusr,s_irgrp,s_iwgrp, s_ixgrp,s_iroth,s_iwoth,s_ixoth];
defaultbuflen = 2048;
minbuflen = 256;

Description

Functions and Procedures

function getnextbufferline(var data: pchar; len: integer): string;
 
function getbufferline(const data: pchar; linenr,len: integer): string;
 
function getkeystring(const data: pchar; len: integer; name: string): string;
 
procedure setfilenonblock(handle: integer; value: boolean);
 
procedure copyvariantarray(const source: array of const; const dest: array of pointer);
 
function getrecordtypechars(const fields: array of const): string;
 
function encodestring(const value: msestring; const encoding: charencodingty = ce_utf8): string;
 
function decodestring(const value: string; const encoding: charencodingty = ce_utf8): msestring;
 
function encoderecord(const fields: array of const; forcequote: boolean = false; const quotechar: msechar = '"'; const separator: msechar = ','): msestring;
 
function decoderecord(const value: msestring; const fields: array of pointer; const types: string; const quotechar: msechar = '"'; const separator: msechar = ','): boolean; overload;
 
function readstreamdatastring(const astream: tstream): string;
 
function readfiledatastring(const afilename: filenamety): string;
 
function tryreadfiledatastring(const afilename: filenamety; out adata: string): syserrorty;
 
procedure writefiledatastring(const afilename: filenamety; const adata: string);
 
function trywritefiledatastring(const afilename: filenamety; const adata: string): syserrorty;
 

Types

cryptoclientstatety = (...);
 
Values
  • ccs_open
cryptoclientstatesty = set of cryptoclientstatety;
 
cryptohandlerdataty = array[0..32] of pointer;
 
pcryptoclientinfoty = ˆcryptoclientinfoty;
 
cryptoclientinfoarty = array of cryptoclientinfoty;
 
textstreamstatety = (...);
 
Values
  • tss_eof
  • tss_error
  • tss_notopen
  • tss_pipeactive
  • tss_response
  • tss_nosigio
  • tss_unblocked
  • tss_haslink
textstreamstatesty = set of textstreamstatety;
 
charencodingty = (...);
 
Values
  • ce_locale
  • ce_utf8
  • ce_ascii
  • ce_iso8859_1
eolflagty = (...);
 
Values
  • eolf_linefeed
  • eolf_returnlinefeed
eolflagsty = set of eolflagty;
 
eolstylety = (...);
 
Values
  • eol_default
  • eol_system
  • eol_unix
  • eol_windows

Constants

defaultfilerights = [s_irusr,s_iwusr,s_irgrp,s_iwgrp,s_iroth,s_iwoth];
 
defaultdirrights = [s_irusr,s_iwusr,s_ixusr,s_irgrp,s_iwgrp, s_ixgrp,s_iroth,s_iwoth,s_ixoth];
 
defaultbuflen = 2048;
 
minbuflen = 256;
 

Generated by PasDoc 0.16.0.