| GNOME Color Manager Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
guint16 gcm_buffer_read_uint16_be (const guchar *buffer); guint16 gcm_buffer_read_uint16_le (const guchar *buffer); void gcm_buffer_write_uint16_be (guchar *buffer,guint16 value); void gcm_buffer_write_uint16_le (guchar *buffer,guint16 value); guint32 gcm_buffer_read_uint32_be (const guchar *buffer); guint32 gcm_buffer_read_uint32_le (const guchar *buffer); void gcm_buffer_write_uint32_be (guchar *buffer,guint32 value); void gcm_buffer_write_uint32_le (guchar *buffer,guint32 value);
guint16 gcm_buffer_read_uint16_be (const guchar *buffer);
Reads a big endian value from a data buffer. NOTE: No validation is done on the buffer to ensure it's valid.
|
the writable data buffer |
Returns : |
the value to read. |
guint16 gcm_buffer_read_uint16_le (const guchar *buffer);
Reads a big endian value from a data buffer. NOTE: No validation is done on the buffer to ensure it's valid.
|
the writable data buffer |
Returns : |
the value to read. |
void gcm_buffer_write_uint16_be (guchar *buffer,guint16 value);
Writes a big endian value into a data buffer. NOTE: No validation is done on the buffer to ensure it's big enough.
|
the writable data buffer |
|
the value to write |
void gcm_buffer_write_uint16_le (guchar *buffer,guint16 value);
Writes a little endian value into a data buffer. NOTE: No validation is done on the buffer to ensure it's big enough.
|
the writable data buffer |
|
the value to write |
guint32 gcm_buffer_read_uint32_be (const guchar *buffer);
Reads a big endian value from a data buffer. NOTE: No validation is done on the buffer to ensure it's valid.
|
the writable data buffer |
Returns : |
the value to read. |
guint32 gcm_buffer_read_uint32_le (const guchar *buffer);
Reads a big endian value from a data buffer. NOTE: No validation is done on the buffer to ensure it's valid.
|
the writable data buffer |
Returns : |
the value to read. |
void gcm_buffer_write_uint32_be (guchar *buffer,guint32 value);
Writes a big endian value into a data buffer. NOTE: No validation is done on the buffer to ensure it's big enough.
|
the writable data buffer |
|
the value to write |