# Class TCefStreamReaderRef

Description
Hierarchy
Methods

## Unit

uCEFStreamReader

## Declaration

`type TCefStreamReaderRef = class(TCefBaseRefCountedRef, ICefStreamReader)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefStreamReaderRef

## Overview

### Methods

Protected | `function Read(ptr: Pointer; size, n: NativeUInt): NativeUInt;`
Protected | `function Seek(offset: Int64; whence: Integer): Integer;`
Protected | `function Tell: Int64;`
Protected | `function Eof: Boolean;`
Protected | `function MayBlock: Boolean;`
Public | `class function UnWrap(data: Pointer): ICefStreamReader;`
Public | `class function CreateForFile(const filename: ustring): ICefStreamReader;`
Public | `class function CreateForCustomStream(const stream: ICefCustomStreamReader): ICefStreamReader;`
Public | `class function CreateForStream(const stream: TSTream; owned: Boolean): ICefStreamReader;`
Public | `class function CreateForData(data: Pointer; size: NativeUInt): ICefStreamReader;`
Public | `class function CreateForHandler(const handler: ICefReadHandler): ICefStreamReader;`

## Description

### Methods

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

Protected | `function Seek(offset: Int64; whence: Integer): Integer;`
This item has no description. Showing description inherited from ICefStreamReader.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;`
This item has no description. Showing description inherited from ICefStreamReader.Tell. Return the current offset position.

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

Protected | `function MayBlock: Boolean;`
This item has no description. Showing description inherited from ICefStreamReader.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 | `class function UnWrap(data: Pointer): ICefStreamReader;`
This item has no description.

Public | `class function CreateForFile(const filename: ustring): ICefStreamReader;`
This item has no description.

Public | `class function CreateForCustomStream(const stream: ICefCustomStreamReader): ICefStreamReader;`
This item has no description.

Public | `class function CreateForStream(const stream: TSTream; owned: Boolean): ICefStreamReader;`
This item has no description.

Public | `class function CreateForData(data: Pointer; size: NativeUInt): ICefStreamReader;`
This item has no description.

Public | `class function CreateForHandler(const handler: ICefReadHandler): ICefStreamReader;`
This item has no description.

Generated by PasDoc 1.0.4.