Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefBinaryValue

CefBaseRefCounted
   |
   +--CefBinaryValue

   in cef_values.h

class CefBinaryValue
extends CefBaseRefCounted

Class representing a binary value. Can be used on any process and thread.


Method Summary
 virtual CefRefPtr< CefBinaryValue > Copy()= 0
          Returns a copy of this object.
 static CefRefPtr< CefBinaryValue > Create( const void* data, size_t data_size )
          Creates a new object that is not owned by any other object.
 virtual size_t GetData( void* buffer, size_t buffer_size, size_t data_offset )= 0
          Read up to |buffer_size| number of bytes into |buffer|.
 virtual size_t GetSize()= 0
          Returns the data size.
 virtual bool IsEqual( CefRefPtr< CefBinaryValue > that )= 0
          Returns true if this object and |that| object have an equivalent underlying value but are not necessarily the same object.
 virtual bool IsOwned()= 0
          Returns true if this object is currently owned by another object.
 virtual bool IsSame( CefRefPtr< CefBinaryValue > that )= 0
          Returns true if this object and |that| object have the same underlying data.
 virtual bool IsValid()= 0
          Returns true if this object is valid.
   
Methods inherited from class CefBaseRefCounted
AddRef, Release, HasOneRef, HasAtLeastOneRef
 

Method Detail

Copy

public virtual CefRefPtr< CefBinaryValue > Copy()= 0;
Returns a copy of this object. The data in this object will also be copied.

Create

public static CefRefPtr< CefBinaryValue > Create( const void* data, size_t data_size );
Creates a new object that is not owned by any other object. The specified |data| will be copied.

GetData

public virtual size_t GetData( void* buffer, size_t buffer_size, size_t data_offset )= 0;
Read up to |buffer_size| number of bytes into |buffer|. Reading begins at the specified byte |data_offset|. Returns the number of bytes read.

GetSize

public virtual size_t GetSize()= 0;
Returns the data size.

IsEqual

public virtual bool IsEqual( CefRefPtr< CefBinaryValue > that )= 0;
Returns true if this object and |that| object have an equivalent underlying value but are not necessarily the same object.

IsOwned

public virtual bool IsOwned()= 0;
Returns true if this object is currently owned by another object.

IsSame

public virtual bool IsSame( CefRefPtr< CefBinaryValue > that )= 0;
Returns true if this object and |that| object have the same underlying data.

IsValid

public virtual bool IsValid()= 0;
Returns true if this object is valid. This object may become invalid if the underlying data is owned by another object (e.g. list or dictionary) and that other object is then modified or destroyed. Do not call any other methods if this method returns false.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 80.1.4+g8927396+chromium-80.0.3987.149
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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