FileAccess
Inherits: RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
Methods
void |
close ( ) |
eof_reached ( ) const |
|
file_exists ( String path ) static |
|
void |
flush ( ) |
get_8 ( ) const |
|
get_16 ( ) const |
|
get_32 ( ) const |
|
get_64 ( ) const |
|
get_as_text ( bool skip_cr=false ) const |
|
get_buffer ( int length ) const |
|
get_csv_line ( String delim=”,” ) const |
|
get_double ( ) const |
|
get_error ( ) const |
|
get_file_as_bytes ( String path ) static |
|
get_file_as_string ( String path ) static |
|
get_float ( ) const |
|
get_hidden_attribute ( String file ) static |
|
get_length ( ) const |
|
get_line ( ) const |
|
get_modified_time ( String file ) static |
|
get_open_error ( ) static |
|
get_path ( ) const |
|
get_path_absolute ( ) const |
|
get_position ( ) const |
|
get_read_only_attribute ( String file ) static |
|
get_real ( ) const |
|
get_sha256 ( String path ) static |
|
BitField<UnixPermissionFlags> |
get_unix_permissions ( String file ) static |
is_open ( ) const |
|
open_compressed ( String path, ModeFlags mode_flags, CompressionMode compression_mode=0 ) static |
|
open_encrypted ( String path, ModeFlags mode_flags, PackedByteArray key ) static |
|
open_encrypted_with_pass ( String path, ModeFlags mode_flags, String pass ) static |
|
void |
|
void |
|
set_hidden_attribute ( String file, bool hidden ) static |
|
set_read_only_attribute ( String file, bool ro ) static |
|
set_unix_permissions ( String file, BitField<UnixPermissionFlags> permissions ) static |
|
void |
|
void |
|
void |
|
void |
|
void |
store_buffer ( PackedByteArray buffer ) |
void |
store_csv_line ( PackedStringArray values, String delim=”,” ) |
void |
store_double ( float value ) |
void |
store_float ( float value ) |
void |
store_line ( String line ) |
void |
store_pascal_string ( String string ) |
void |
store_real ( float value ) |
void |
store_string ( String string ) |
void |
Enumerations
enum ModeFlags:
ModeFlags READ = 1
There is currently no description for this enum. Please help us by contributing one!
ModeFlags WRITE = 2
There is currently no description for this enum. Please help us by contributing one!
ModeFlags READ_WRITE = 3
There is currently no description for this enum. Please help us by contributing one!
ModeFlags WRITE_READ = 7
There is currently no description for this enum. Please help us by contributing one!
enum CompressionMode:
CompressionMode COMPRESSION_FASTLZ = 0
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_DEFLATE = 1
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_ZSTD = 2
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_GZIP = 3
There is currently no description for this enum. Please help us by contributing one!
CompressionMode COMPRESSION_BROTLI = 4
There is currently no description for this enum. Please help us by contributing one!
flags UnixPermissionFlags:
UnixPermissionFlags UNIX_READ_OWNER = 256
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_WRITE_OWNER = 128
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_EXECUTE_OWNER = 64
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_READ_GROUP = 32
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_WRITE_GROUP = 16
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_EXECUTE_GROUP = 8
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_READ_OTHER = 4
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_WRITE_OTHER = 2
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_EXECUTE_OTHER = 1
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_SET_USER_ID = 2048
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_SET_GROUP_ID = 1024
There is currently no description for this enum. Please help us by contributing one!
UnixPermissionFlags UNIX_RESTRICTED_DELETE = 512
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
bool big_endian
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void close ( )
There is currently no description for this method. Please help us by contributing one!
bool eof_reached ( ) const
There is currently no description for this method. Please help us by contributing one!
bool file_exists ( String path ) static
There is currently no description for this method. Please help us by contributing one!
void flush ( )
There is currently no description for this method. Please help us by contributing one!
int get_8 ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_16 ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_32 ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_64 ( ) const
There is currently no description for this method. Please help us by contributing one!
String get_as_text ( bool skip_cr=false ) const
There is currently no description for this method. Please help us by contributing one!
PackedByteArray get_buffer ( int length ) const
There is currently no description for this method. Please help us by contributing one!
PackedStringArray get_csv_line ( String delim=”,” ) const
There is currently no description for this method. Please help us by contributing one!
float get_double ( ) const
There is currently no description for this method. Please help us by contributing one!
Error get_error ( ) const
There is currently no description for this method. Please help us by contributing one!
PackedByteArray get_file_as_bytes ( String path ) static
There is currently no description for this method. Please help us by contributing one!
String get_file_as_string ( String path ) static
There is currently no description for this method. Please help us by contributing one!
float get_float ( ) const
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
int get_length ( ) const
There is currently no description for this method. Please help us by contributing one!
String get_line ( ) const
There is currently no description for this method. Please help us by contributing one!
String get_md5 ( String path ) static
There is currently no description for this method. Please help us by contributing one!
int get_modified_time ( String file ) static
There is currently no description for this method. Please help us by contributing one!
Error get_open_error ( ) static
There is currently no description for this method. Please help us by contributing one!
String get_pascal_string ( )
There is currently no description for this method. Please help us by contributing one!
String get_path ( ) const
There is currently no description for this method. Please help us by contributing one!
String get_path_absolute ( ) const
There is currently no description for this method. Please help us by contributing one!
int get_position ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_read_only_attribute ( String file ) static
There is currently no description for this method. Please help us by contributing one!
float get_real ( ) const
There is currently no description for this method. Please help us by contributing one!
String get_sha256 ( String path ) static
There is currently no description for this method. Please help us by contributing one!
BitField<UnixPermissionFlags> get_unix_permissions ( String file ) static
There is currently no description for this method. Please help us by contributing one!
Variant get_var ( bool allow_objects=false ) const
There is currently no description for this method. Please help us by contributing one!
bool is_open ( ) const
There is currently no description for this method. Please help us by contributing one!
FileAccess open ( String path, ModeFlags flags ) static
There is currently no description for this method. Please help us by contributing one!
FileAccess open_compressed ( String path, ModeFlags mode_flags, CompressionMode compression_mode=0 ) static
There is currently no description for this method. Please help us by contributing one!
FileAccess open_encrypted ( String path, ModeFlags mode_flags, PackedByteArray key ) static
There is currently no description for this method. Please help us by contributing one!
FileAccess open_encrypted_with_pass ( String path, ModeFlags mode_flags, String pass ) static
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
void seek ( int position )
There is currently no description for this method. Please help us by contributing one!
void seek_end ( int position=0 )
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
Error set_read_only_attribute ( String file, bool ro ) static
There is currently no description for this method. Please help us by contributing one!
Error set_unix_permissions ( String file, BitField<UnixPermissionFlags> permissions ) static
There is currently no description for this method. Please help us by contributing one!
void store_8 ( int value )
There is currently no description for this method. Please help us by contributing one!
void store_16 ( int value )
There is currently no description for this method. Please help us by contributing one!
void store_32 ( int value )
There is currently no description for this method. Please help us by contributing one!
void store_64 ( int value )
There is currently no description for this method. Please help us by contributing one!
void store_buffer ( PackedByteArray buffer )
There is currently no description for this method. Please help us by contributing one!
void store_csv_line ( PackedStringArray values, String delim=”,” )
There is currently no description for this method. Please help us by contributing one!
void store_double ( float value )
There is currently no description for this method. Please help us by contributing one!
void store_float ( float value )
There is currently no description for this method. Please help us by contributing one!
void store_line ( String line )
There is currently no description for this method. Please help us by contributing one!
void store_pascal_string ( String string )
There is currently no description for this method. Please help us by contributing one!
void store_real ( float value )
There is currently no description for this method. Please help us by contributing one!
void store_string ( String string )
There is currently no description for this method. Please help us by contributing one!
void store_var ( Variant value, bool full_objects=false )
There is currently no description for this method. Please help us by contributing one!