File operations for AES encrypted files.
- Note
- Has to be created with Alloc() and destroyed with Free(). Use AutoAlloc to automate the allocation and destruction based on scope.
|
Bool | Open (const Filename &name, const char *key, Int32 keylen, Int32 blocksize, UInt32 aes_flags, FILEOPEN mode=FILEOPEN::READ, FILEDIALOG error_dialog=FILEDIALOG::IGNOREOPEN, BYTEORDER order=BYTEORDER::V_MOTOROLA, Int32 type='C4DC', Int32 creator='C4D1') |
|
Bool | Open (const Filename &name, FILEOPEN mode=FILEOPEN::READ, FILEDIALOG error_dialog=FILEDIALOG::IGNOREOPEN, BYTEORDER order=BYTEORDER::V_MOTOROLA, Int32 type='C4DC', Int32 creator='C4D1') |
|
Bool | Close () |
|
Int | ReadBytes (void *data, Int len, Bool just_try_it=false) |
|
Int | TryReadBytes (void *data, Int len) |
|
Bool | WriteBytes (const void *data, Int len) |
|
Bool | Seek (Int64 pos, FILESEEK mode=FILESEEK::RELATIVE_) |
|
Int64 | GetPosition () |
|
Int64 | GetLength () |
|
LOCATION | GetLocation () const |
|
FILEERROR | GetError () const |
|
void | SetError (FILEERROR error) |
|
void | SetOrder (BYTEORDER order) |
|
Bool | ReadChar (Char *v) |
|
Bool | ReadUChar (UChar *v) |
|
Bool | ReadInt16 (Int16 *v) |
|
Bool | ReadUInt16 (UInt16 *v) |
|
Bool | ReadInt32 (Int32 *v) |
|
Bool | ReadUInt32 (UInt32 *v) |
|
Bool | ReadFloat32 (Float32 *v) |
|
Bool | ReadFloat64 (Float64 *v) |
|
Bool | ReadInt64 (Int64 *v) |
|
Bool | ReadUInt64 (UInt64 *v) |
|
Bool | ReadFilename (Filename *v) |
|
Bool | ReadBool (Bool *v) |
|
Bool | ReadString (maxon::String *v) |
|
Bool | ReadVector32 (Vector32 *v) |
|
Bool | ReadVector64 (Vector64 *v) |
|
Bool | ReadMatrix32 (Matrix32 *v) |
|
Bool | ReadMatrix64 (Matrix64 *v) |
|
Bool | WriteChar (Char v) |
|
Bool | WriteUChar (UChar v) |
|
Bool | WriteInt16 (Int16 v) |
|
Bool | WriteUInt16 (UInt16 v) |
|
Bool | WriteInt32 (Int32 v) |
|
Bool | WriteUInt32 (UInt32 v) |
|
Bool | WriteFloat32 (Float32 v) |
|
Bool | WriteFloat64 (Float64 v) |
|
Bool | WriteInt64 (Int64 v) |
|
Bool | WriteUInt64 (UInt64 v) |
|
Bool | WriteFilename (const Filename &v) |
|
Bool | WriteBool (Bool v) |
|
Bool | WriteString (const maxon::String &v) |
|
Bool | WriteVector32 (const Vector32 &v) |
|
Bool | WriteVector64 (const Vector64 &v) |
|
Bool | WriteMatrix32 (const Matrix32 &v) |
|
Bool | WriteMatrix64 (const Matrix64 &v) |
|