Tao.PhysFs SDK Documentation |
|
Fs.PHYSFS_readSLE32 Method
Read and convert a signed 32-bit littleendian value.
[Visual Basic]
Public Shared Function PHYSFS_readSLE32( _
ByVal
handle As
IntPtr, _
ByRef
val As
Integer _
) As
Integer
[C#]
public static
int PHYSFS_readSLE32(
IntPtr handle,
ref
int val);
Parameters
-
handle
- PhysicsFS file handle from which to read.
-
val
- Where value should be stored.
Return Value
zero on failure, non-zero on success. If successful, val will store the result. On failure, you can find out what went wrong from PHYSFS_getLastError.
Remarks
Convenience function. Read a signed 32-bit littleendian value from a file and convert it to the platform's native byte order.
See Also
Fs Class | Tao.PhysFs Namespace