Function File.openEncrypted

Opens an encrypted file in write or read mode. You need to pass a binary key to encrypt/decrypt it.

godot.core.defs.GodotError openEncrypted (
  const(String) path,
  const(long) mode_flags,
  const(PoolArray!(ubyte)) key
) nothrow @nogc;