Interface ICefWriteHandler

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefWriteHandler = interface(ICefBaseRefCounted)

Description

Interface the client can implement to provide a custom stream writer. The functions of this interface may be called on any thread.

UNKNOWN

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_stream_capi.h">CEF source file: /include/capi/cef_stream_capi.h (cef_write_handler_t))

Hierarchy

Overview

Methods

Public function Write(const ptr: Pointer; size, n: NativeUInt): NativeUInt;
Public function Seek(offset: Int64; whence: Integer): Integer;
Public function Tell: Int64;
Public function Flush: Integer;
Public function MayBlock: Boolean;

Description

Methods

Public function Write(const ptr: Pointer; size, n: NativeUInt): NativeUInt;

Write raw binary data.

Attributes
GUID['{F2431888-4EAB-421E-9EC3-320BE695AF30}']
Public function Seek(offset: Int64; whence: Integer): Integer;

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.

Public function Tell: Int64;

Return the current offset position.

Public function Flush: Integer;

Flush the stream.

Public function MayBlock: Boolean;

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.


Generated by PasDoc 0.16.0-snapshot.