Class tcustombufstream

Unit

Declaration

type tcustombufstream = class(tmsefilestream)

Description

No description available, ancestor tmsefilestream description follows

Hierarchy

Overview

Fields

Protected fwriting: boolean;
Protected fbuffer: pchar;
Protected bufoffset: pchar;
Protected bufend: pchar;
Protected fstate: textstreamstatesty;

Methods

Protected function getnotopen: boolean;
Protected procedure setbuflen(const Value: integer); virtual;
Protected function geteof: boolean;
Protected function readbytes(var buf): integer; virtual;
Protected procedure fillbuffer();
Protected procedure checkbuffer();
Protected procedure internalwritebuffer(const buffer; count: longint);
Public constructor create(ahandle: integer); override;
Public constructor createdata(const adata: rawbytestring);
Public procedure clear; override;
Public procedure setsize(const newsize: int64); override;
Public function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;
Public function Read(var Buffer; Count: Longint): Longint; override;
Public function Write(const Buffer; Count: Longint): Longint; override;
Public procedure flushbuffer; override;
Public procedure skip(const adist: integer);

Properties

Public property buflen: integer read fbuflen write setbuflen default defaultbuflen;
Public property usewritebuffer: boolean read fusewritebuffer write setusewritebuffer default false;
Public property eof: boolean read geteof;
Public property bufpo: pchar read getbufpo;

Description

Fields

Protected fwriting: boolean;
 
Protected fbuffer: pchar;
 
Protected bufoffset: pchar;
 
Protected bufend: pchar;
 
Protected fstate: textstreamstatesty;
 

Methods

Protected function getnotopen: boolean;
 
Protected procedure setbuflen(const Value: integer); virtual;
 
Protected function geteof: boolean;
 
Protected function readbytes(var buf): integer; virtual;
 
Protected procedure fillbuffer();
 
Protected procedure checkbuffer();
 
Protected procedure internalwritebuffer(const buffer; count: longint);
 
Public constructor create(ahandle: integer); override;
 
Public constructor createdata(const adata: rawbytestring);
 
Public procedure clear; override;
 
Public procedure setsize(const newsize: int64); override;
 
Public function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;
 
Public function Read(var Buffer; Count: Longint): Longint; override;
 
Public function Write(const Buffer; Count: Longint): Longint; override;
 
Public procedure flushbuffer; override;
 
Public procedure skip(const adist: integer);
 

Properties

Public property buflen: integer read fbuflen write setbuflen default defaultbuflen;
 
Public property usewritebuffer: boolean read fusewritebuffer write setusewritebuffer default false;
 
Public property eof: boolean read geteof;
 
Public property bufpo: pchar read getbufpo;
 

Generated by PasDoc 0.16.0.