# Class TCefCustomStreamReader

Description
Hierarchy
Fields
Methods

## Unit

uCEFCustomStreamReader

## Declaration

`type TCefCustomStreamReader = class(TCefBaseRefCountedOwn, ICefCustomStreamReader)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedOwn
- TCefCustomStreamReader

## Overview

### Fields

Protected | `FStream: TStream;`
Protected | `FOwned: Boolean;`

### Methods

Protected | `function Read(ptr: Pointer; size, n: NativeUInt): NativeUInt; virtual;`
Protected | `function Seek(offset: Int64; whence: Integer): Integer; virtual;`
Protected | `function Tell: Int64; virtual;`
Protected | `function Eof: Boolean; virtual;`
Protected | `function MayBlock: Boolean; virtual;`
Public | `constructor Create(Stream: TStream; Owned: Boolean); overload; virtual;`
Public | `constructor Create(const filename: string); overload; virtual;`
Public | `destructor Destroy; override;`

## Description

### Fields

Protected | `FStream: TStream;`
This item has no description.

Protected | `FOwned: Boolean;`
This item has no description.

### Methods

Protected | `function Read(ptr: Pointer; size, n: NativeUInt): NativeUInt; virtual;`
This item has no description. Showing description inherited from ICefCustomStreamReader.Read. Read raw binary data.

Protected | `function Seek(offset: Int64; whence: Integer): Integer; virtual;`
This item has no description. Showing description inherited from ICefCustomStreamReader.Seek. Seek to the specified offset position. |whence| may be any one of SEEK_CUR, SEEK_END or SEEK_SET. Return zero on success and non-zero on failure.

Protected | `function Tell: Int64; virtual;`
This item has no description. Showing description inherited from ICefCustomStreamReader.Tell. Return the current offset position.

Protected | `function Eof: Boolean; virtual;`
This item has no description. Showing description inherited from ICefCustomStreamReader.Eof. Return non-zero if at end of file.

Protected | `function MayBlock: Boolean; virtual;`
This item has no description. Showing description inherited from ICefCustomStreamReader.MayBlock. Return true (1) if this handler performs work like accessing the file system which may block. Used as a hint for determining the thread to access the handler from.

Public | `constructor Create(Stream: TStream; Owned: Boolean); overload; virtual;`
This item has no description.

Public | `constructor Create(const filename: string); overload; virtual;`
This item has no description.

Public | `destructor Destroy; override;`
This item has no description.

Generated by PasDoc 1.0.4.