class

Godot::FileAccess

Inherits Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

big_endian

Property big_endian getter

Source
big_endian=(val)

Property big_endian setter

Source
big_endian?
Source
close
Source
create_temp(mode_flags : Int64, prefix : String, extension : String, keep : Bool) : FileAccess
Source
eof_reached
Source
file_exists(path : String) : Bool
Source
flush
Source
get_16
Source
get_32
Source
get_64
Source
get_8
Source
get_access_time(file : String) : Int64
Source
get_as_text
Source
get_buffer(length : Int64) : Pointer(Void)
Source
get_csv_line(delim : String) : Pointer(Void)
Source
get_double
Source
get_error
Source
get_extended_attribute(file : String, attribute_name : String) : Pointer(Void)
Source
get_extended_attribute_string(file : String, attribute_name : String) : String
Source
get_extended_attributes_list(file : String) : Pointer(Void)
Source
get_file_as_bytes(path : String) : Pointer(Void)
Source
get_file_as_string(path : String) : String
Source
get_float
Source
get_half
Source
get_hidden_attribute(file : String) : Bool
Source
get_length
Source
get_line
Source
get_md5(path : String) : String
Source
get_modified_time(file : String) : Int64
Source
get_open_error
Source
get_pascal_string
Source
get_path
Source
get_path_absolute
Source
get_position
Source
get_read_only_attribute(file : String) : Bool
Source
get_real
Source
get_sha256(path : String) : String
Source
get_size(file : String) : Int64
Source
get_unix_permissions(file : String) : Int64
Source
get_var(allow_objects : Bool) : Pointer(Void)
Source
is_big_endian
Source
is_open
Source
open(path : String, flags : Int64) : FileAccess
Source
open_compressed(path : String, mode_flags : Int64, compression_mode : Int64) : FileAccess
Source
open_encrypted(path : String, mode_flags : Int64, key : Pointer(Void), iv : Pointer(Void)) : FileAccess
Source
open_encrypted_with_pass(path : String, mode_flags : Int64, pass : String) : FileAccess
Source
remove_extended_attribute(file : String, attribute_name : String) : Int64
Source
resize(length : Int64) : Int64
Source
seek(position : Int64) : Void
Source
seek_end(position : Int64) : Void
Source
set_big_endian(big_endian : Bool) : Void
Source
set_extended_attribute(file : String, attribute_name : String, data : Pointer(Void)) : Int64
Source
set_extended_attribute_string(file : String, attribute_name : String, data : String) : Int64
Source
set_hidden_attribute(file : String, hidden : Bool) : Int64
Source
set_read_only_attribute(file : String, ro : Bool) : Int64
Source
set_unix_permissions(file : String, permissions : Int64) : Int64
Source
store_16(value : Int64) : Bool
Source
store_32(value : Int64) : Bool
Source
store_64(value : Int64) : Bool
Source
store_8(value : Int64) : Bool
Source
store_buffer(buffer : Pointer(Void)) : Bool
Source
store_csv_line(values : Pointer(Void), delim : String) : Bool
Source
store_double(value : Float64) : Bool
Source
store_float(value : Float64) : Bool
Source
store_half(value : Float64) : Bool
Source
store_line(line : String) : Bool
Source
store_pascal_string(string : String) : Bool
Source
store_real(value : Float64) : Bool
Source
store_string(string : String) : Bool
Source
store_var(value : Pointer(Void), full_objects : Bool) : Bool
Source

Nested types