Tao.PhysFs SDK Documentation

Fs.PHYSFS_readSBE16 Method 

Read and convert a signed 16-bit bigendian value.

[Visual Basic]
Public Shared Function PHYSFS_readSBE16( _
   ByVal handle As IntPtr, _
   ByRef val As Short _
) As Integer
[C#]
public static int PHYSFS_readSBE16(
   IntPtr handle,
   ref short 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 16-bit bigendian value from a file and convert it to the platform's native byte order.

See Also

Fs Class | Tao.PhysFs Namespace