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 endianSwap(self: godottypes.File): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc endianSwap=(self: godottypes.File; val: bool) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc openEncrypted(self: godottypes.File; path: string; modeFlags: int64;
                  key: PoolByteArray): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc openEncryptedWithPass(self: godottypes.File; path: string; modeFlags: int64;
                          pass: string): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc openCompressed(self: godottypes.File; path: string; modeFlags: int64;
                   compressionMode: int64 = 0'i64): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc open(self: godottypes.File; path: string; flags: int64): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc close(self: godottypes.File) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPath(self: godottypes.File): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPathAbsolute(self: godottypes.File): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isOpen(self: godottypes.File): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc seek(self: godottypes.File; position: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc seekEnd(self: godottypes.File; position: int64 = 0'i64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPosition(self: godottypes.File): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getLen(self: godottypes.File): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc eofReached(self: godottypes.File): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc get8(self: godottypes.File): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc get16(self: godottypes.File): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc get32(self: godottypes.File): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc get64(self: godottypes.File): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getFloat(self: godottypes.File): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getDouble(self: godottypes.File): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getReal(self: godottypes.File): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBuffer(self: godottypes.File; len: int64): PoolByteArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getLine(self: godottypes.File): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getAsText(self: godottypes.File): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getMd5(self: godottypes.File; path: string): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getSha256(self: godottypes.File; path: string): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getError(self: godottypes.File): Error {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getVar(self: godottypes.File): Variant {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getCsvLine(self: godottypes.File; delim: string = ","): PoolStringArray {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc store8(self: godottypes.File; value: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc store16(self: godottypes.File; value: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc store32(self: godottypes.File; value: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc store64(self: godottypes.File; value: int64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeFloat(self: godottypes.File; value: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeDouble(self: godottypes.File; value: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeReal(self: godottypes.File; value: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeBuffer(self: godottypes.File; buffer: PoolByteArray) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeLine(self: godottypes.File; line: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeString(self: godottypes.File; string: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storeVar(self: godottypes.File; value: Variant) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc storePascalString(self: godottypes.File; string: string) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPascalString(self: godottypes.File): string {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc fileExists(self: godottypes.File; path: string): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getModifiedTime(self: godottypes.File; file: string): int64 {.
gcsafe, locks: 0, raises: [], tags: []
.}