Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefByteReadHandler

CefBaseRefCounted
   |
   +--CefReadHandler
         |
         +--CefByteReadHandler

   in cef_byte_read_handler.h

class CefByteReadHandler
extends CefReadHandler

Thread safe implementation of the CefReadHandler class for reading an in-memory array of bytes.


Constructor Summary
CefByteReadHandler( const unsigned char* bytes, size_t size, CefRefPtr< CefBaseRefCounted > source )
          Create a new object for reading an array of bytes.
 
Method Summary
 virtual int Eof() OVERRIDE
          
 virtual bool MayBlock() OVERRIDE
          
 virtual size_t Read( void* ptr, size_t size, size_t n ) OVERRIDE
          
 virtual int Seek( int64 offset, int whence ) OVERRIDE
          
 virtual int64 Tell() OVERRIDE
          
   
Methods inherited from class CefReadHandler
Read, Seek, Tell, Eof, MayBlock
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Constructor Detail

CefByteReadHandler

public CefByteReadHandler( const unsigned char* bytes, size_t size, CefRefPtr< CefBaseRefCounted > source );
Create a new object for reading an array of bytes. An optional |source| reference can be kept to keep the underlying data source from being released while the reader exists.


Method Detail

Eof

public virtual int Eof() OVERRIDE;

MayBlock

public virtual bool MayBlock() OVERRIDE;

Read

public virtual size_t Read( void* ptr, size_t size, size_t n ) OVERRIDE;

Seek

public virtual int Seek( int64 offset, int whence ) OVERRIDE;

Tell

public virtual int64 Tell() OVERRIDE;

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt