Click or drag to resize
CfxStreamReader Class

[This is preliminary documentation and is subject to change.]

Structure used to read data from a stream. The functions of this structure may be called on any thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxLibraryBase
        ChromiumCfxStreamReader

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxStreamReader : CfxLibraryBase

The CfxStreamReader type exposes the following members.

Properties
  NameDescription
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted library struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxLibraryBase.)
Top
Methods
  NameDescription
Public methodStatic memberCreateForData
Create a new CfxStreamReader object from data.
Public methodStatic memberCreateForFile
Create a new CfxStreamReader object from a file.
Public methodStatic memberCreateForHandler
Create a new CfxStreamReader object from a custom handler.
Public methodEof
Return non-zero if at end of file.
Public methodMayBlock
Returns true (1) if this reader performs work like accessing the file system which may block. Used as a hint for determining the thread to access the reader from.
Public methodRead
Read raw binary data.
Public methodSeek
Seek to the specified offset position. |whence| may be any one of SEEK_CUR, SEEK_END or SEEK_SET. Returns zero on success and non-zero on failure.
Public methodTell
Return the current offset position.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_stream_capi.h.
See Also