Module file

Consts

READ* = 1'i64
WRITE* = 2'i64
READ_WRITE* = 3'i64
WRITE_READ* = 7'i64
COMPRESSION_FASTLZ* = 0'i64
COMPRESSION_DEFLATE* = 1'i64
COMPRESSION_ZSTD* = 2'i64
COMPRESSION_GZIP* = 3'i64

Procs

proc openEncrypted*(self: godottypes.File; path: string; modeFlags: int64;
                   key: PoolByteArray): Error {.
gcsafe, locks: 0
.}
proc openEncryptedWithPass*(self: godottypes.File; path: string; modeFlags: int64;
                           pass: string): Error {.
gcsafe, locks: 0
.}
proc openCompressed*(self: godottypes.File; path: string; modeFlags: int64;
                    compressionMode: int64 = 0'i64): Error {.
gcsafe, locks: 0
.}
proc open*(self: godottypes.File; path: string; flags: int64): Error {.
gcsafe, locks: 0
.}
proc close*(self: godottypes.File) {.
gcsafe, locks: 0
.}
proc isOpen*(self: godottypes.File): bool {.
gcsafe, locks: 0
.}
proc seek*(self: godottypes.File; pos: int64) {.
gcsafe, locks: 0
.}
proc seekEnd*(self: godottypes.File; pos: int64 = 0'i64) {.
gcsafe, locks: 0
.}
proc getPos*(self: godottypes.File): int64 {.
gcsafe, locks: 0
.}
proc getLen*(self: godottypes.File): int64 {.
gcsafe, locks: 0
.}
proc eofReached*(self: godottypes.File): bool {.
gcsafe, locks: 0
.}
proc get8*(self: godottypes.File): int64 {.
gcsafe, locks: 0
.}
proc get16*(self: godottypes.File): int64 {.
gcsafe, locks: 0
.}
proc get32*(self: godottypes.File): int64 {.
gcsafe, locks: 0
.}
proc get64*(self: godottypes.File): int64 {.
gcsafe, locks: 0
.}
proc getFloat*(self: godottypes.File): float64 {.
gcsafe, locks: 0
.}
proc getDouble*(self: godottypes.File): float64 {.
gcsafe, locks: 0
.}
proc getReal*(self: godottypes.File): float64 {.
gcsafe, locks: 0
.}
proc getBuffer*(self: godottypes.File; len: int64): PoolByteArray {.
gcsafe, locks: 0
.}
proc getLine*(self: godottypes.File): string {.
gcsafe, locks: 0
.}
proc getAsText*(self: godottypes.File): string {.
gcsafe, locks: 0
.}
proc getMd5*(self: godottypes.File; path: string): string {.
gcsafe, locks: 0
.}
proc getSha256*(self: godottypes.File; path: string): string {.
gcsafe, locks: 0
.}
proc getEndianSwap*(self: godottypes.File): bool {.
gcsafe, locks: 0
.}
proc setEndianSwap*(self: godottypes.File; enable: bool) {.
gcsafe, locks: 0
.}
proc getError*(self: godottypes.File): Error {.
gcsafe, locks: 0
.}
proc getVar*(self: godottypes.File): Variant {.
gcsafe, locks: 0
.}
proc getCsvLine*(self: godottypes.File; delim: string = ","): PoolStringArray {.
gcsafe, locks: 0
.}
proc store8*(self: godottypes.File; value: int64) {.
gcsafe, locks: 0
.}
proc store16*(self: godottypes.File; value: int64) {.
gcsafe, locks: 0
.}
proc store32*(self: godottypes.File; value: int64) {.
gcsafe, locks: 0
.}
proc store64*(self: godottypes.File; value: int64) {.
gcsafe, locks: 0
.}
proc storeFloat*(self: godottypes.File; value: float64) {.
gcsafe, locks: 0
.}
proc storeDouble*(self: godottypes.File; value: float64) {.
gcsafe, locks: 0
.}
proc storeReal*(self: godottypes.File; value: float64) {.
gcsafe, locks: 0
.}
proc storeBuffer*(self: godottypes.File; buffer: PoolByteArray) {.
gcsafe, locks: 0
.}
proc storeLine*(self: godottypes.File; line: string) {.
gcsafe, locks: 0
.}
proc storeString*(self: godottypes.File; string: string) {.
gcsafe, locks: 0
.}
proc storeVar*(self: godottypes.File; value: Variant) {.
gcsafe, locks: 0
.}
proc storePascalString*(self: godottypes.File; string: string) {.
gcsafe, locks: 0
.}
proc getPascalString*(self: godottypes.File): string {.
gcsafe, locks: 0
.}
proc fileExists*(self: godottypes.File; path: string): bool {.
gcsafe, locks: 0
.}
proc getModifiedTime*(self: godottypes.File; file: string): int64 {.
gcsafe, locks: 0
.}