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