Click or drag to resize
CfxStreamWriter Class

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

Structure used to write data to a stream. The functions of this structure may be called on any thread.
Inheritance Hierarchy

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

The CfxStreamWriter type exposes the following members.

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.)
Public methodStatic memberCreateForFile
Create a new CfxStreamWriter object for a file.
Public methodStatic memberCreateForHandler
Create a new CfxStreamWriter object for a custom handler.
Public methodFlush
Flush the stream.
Public methodMayBlock
Returns true (1) if this writer performs work like accessing the file system which may block. Used as a hint for determining the thread to access the writer from.
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.
Public methodWrite
Write raw binary data.
See also the original CEF documentation in cef/include/capi/cef_stream_capi.h.
See Also