Interface ICefBinaryValue

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type ICefBinaryValue = interface(ICefBaseRefCounted)

Description

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

UNKNOWN

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

Hierarchy

Overview

Methods

Public function IsValid: Boolean;
Public function IsOwned: Boolean;
Public function IsSame(const that: ICefBinaryValue): Boolean;
Public function IsEqual(const that: ICefBinaryValue): Boolean;
Public function Copy: ICefBinaryValue;
Public function GetRawData: Pointer;
Public function GetSize: NativeUInt;
Public function GetData(buffer: Pointer; bufferSize, dataOffset: NativeUInt): NativeUInt;

Properties

Public property Size : NativeUInt read GetSize;

Description

Methods

Public function IsValid: Boolean;

Returns true (1) 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 functions if this function returns false (0).

Attributes
GUID['{974AA40A-9C5C-4726-81F0-9F0D46D7C5B3}']
Public function IsOwned: Boolean;

Returns true (1) if this object is currently owned by another object.

Public function IsSame(const that: ICefBinaryValue): Boolean;

Returns true (1) if this object and |that| object have the same underlying data.

Public function IsEqual(const that: ICefBinaryValue): Boolean;

Returns true (1) if this object and |that| object have an equivalent underlying value but are not necessarily the same object.

Public function Copy: ICefBinaryValue;

Returns a copy of this object. The data in this object will also be copied.

Public function GetRawData: Pointer;

Returns a pointer to the beginning of the memory block. The returned pointer is valid as long as the ICefBinaryValue is alive.

Public function GetSize: NativeUInt;

Returns the data size.

Public function GetData(buffer: Pointer; bufferSize, dataOffset: NativeUInt): NativeUInt;

Read up to |buffer_size| number of bytes into |buffer|. Reading begins at the specified byte |data_offset|. Returns the number of bytes read.

Properties

Public property Size : NativeUInt read GetSize;

Returns the data size.


Generated by PasDoc 0.16.0-snapshot.