ReadFilePart
Object Hierarchy:
Description:
public class ReadFilePart :
TDObject
Reads a part of a file from the TDLib file cache and returns read bytes. This method is intended to be used only if the application has
no direct access to TDLib's file system, because it is usually slower than a direct read from the file
Content:
Properties:
- public int64 count { get; set construct; }
Number of bytes to read. An error will be returned if there are not
enough bytes available in the file from the specified position. Pass 0 to read all available data from the specified position
- public int32 file_id { get; set construct; }
Identifier of the file. The file must be located in the TDLib file
cache
- public int64 offset { get; set construct; }
The offset from which to read the file
Creation methods:
- public ReadFilePart (int32 file_id, int64 offset, int64 count)
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref