/// <summary> /// Returns the value at the specified index as type binary. The returned value /// will reference existing data. /// </summary> public unsafe virtual CefBinaryValue GetBinary(long index) { return(SafeCall(CefBinaryValue.Wrap(CefBinaryValue.Create, NativeInstance->GetBinary(new UIntPtr((ulong)index))))); }
/// <summary> /// Returns a cef_binary_value_t containing the decompressed contents of the /// specified scale independent |resource_id| or NULL if not found. Include /// cef_pack_resources.h for a listing of valid resource ID values. /// </summary> public unsafe virtual CefBinaryValue GetDataResource(int resourceId) { return(SafeCall(CefBinaryValue.Wrap(CefBinaryValue.Create, NativeInstance->GetDataResource(resourceId)))); }
/// <summary> /// Returns the underlying value as type binary. The returned reference may /// become invalid if the value is owned by another object or if ownership is /// transferred to another object in the future. To maintain a reference to the /// value after assigning ownership to a dictionary or list pass this object to /// the set_value() function instead of passing the returned reference to /// set_binary(). /// </summary> public unsafe virtual CefBinaryValue GetBinary() { return(SafeCall(CefBinaryValue.Wrap(CefBinaryValue.Create, NativeInstance->GetBinary()))); }