Method
GioDataInputStreamread_int16
Declaration
gint16
g_data_input_stream_read_int16 (
GDataInputStream* stream,
GCancellable* cancellable,
GError** error
)
Description
Reads a 16-bit/2-byte value from stream
.
In order to get the correct byte order for this read operation,
see g_data_input_stream_get_byte_order()
and g_data_input_stream_set_byte_order().
Parameters
cancellable |
GCancellable |
Optional |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |