Ags.BufferUtil¶
Fields¶
None
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
Details¶
- class Ags.BufferUtil¶
- classmethod char_buffer_read_complex(cbuffer, byte_order)¶
- Parameters:
- Returns:
the
Ags.Complex
value- Return type:
Read a
Ags.Complex
quantity of cbuffer.New in version 3.0.0.
- classmethod char_buffer_read_double(cbuffer, byte_order)¶
- Parameters:
- Returns:
the
float
value- Return type:
Read a
float
quantity of cbuffer.New in version 3.0.0.
- classmethod char_buffer_read_float(cbuffer, byte_order)¶
- Parameters:
- Returns:
the
float
value- Return type:
Read a
float
quantity of cbuffer.New in version 3.0.0.
- classmethod char_buffer_read_s16(cbuffer, byte_order)¶
- Parameters:
- Returns:
the gint16 value
- Return type:
Read a gint16 quantity of cbuffer.
New in version 3.0.0.
- classmethod char_buffer_read_s24(cbuffer, byte_order)¶
- Parameters:
- Returns:
the gint32 value
- Return type:
Read a gint32 24 bit quantity of cbuffer.
New in version 3.0.0.
- classmethod char_buffer_read_s32(cbuffer, byte_order)¶
- Parameters:
- Returns:
the gint32 value
- Return type:
Read a gint32 32 bit quantity of cbuffer.
New in version 3.0.0.
- classmethod char_buffer_read_s64(cbuffer, byte_order)¶
- Parameters:
- Returns:
the gint64 value
- Return type:
Read a gint64 64 bit quantity of cbuffer.
New in version 3.0.0.
- classmethod char_buffer_read_s8(cbuffer, byte_order)¶
- Parameters:
- Returns:
the gint8 value
- Return type:
Read a gint8 quantity of cbuffer.
New in version 3.0.0.
- classmethod char_buffer_swap_bytes(cbuffer, word_size, buffer_size)¶
- Parameters:
Swap bytes in view of Little/Big-Endian.
New in version 3.0.0.
- classmethod char_buffer_to_complex(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the
Ags.Complex
buffer- Return type:
Unpack cbuffer to a
Ags.Complex
bufferNew in version 3.0.0.
- classmethod char_buffer_to_double(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the
float
buffer- Return type:
Unpack cbuffer to a
float
bufferNew in version 3.0.0.
- classmethod char_buffer_to_float(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the
float
buffer- Return type:
Unpack cbuffer to a
float
bufferNew in version 3.0.0.
- classmethod char_buffer_to_s16(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the gint16 buffer
- Return type:
Unpack cbuffer to a gint16 buffer
New in version 3.0.0.
- classmethod char_buffer_to_s24(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the gint32 buffer
- Return type:
Unpack cbuffer to a gint32 buffer
New in version 3.0.0.
- classmethod char_buffer_to_s32(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the gint32 buffer
- Return type:
Unpack cbuffer to a gint32 buffer
New in version 3.0.0.
- classmethod char_buffer_to_s64(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the gint64 buffer
- Return type:
Unpack cbuffer to a gint64 buffer
New in version 3.0.0.
- classmethod char_buffer_to_s8(cbuffer, buffer_size)¶
- Parameters:
- Returns:
the gint8 buffer
- Return type:
Unpack cbuffer to a gint8 buffer
New in version 3.0.0.
- classmethod char_buffer_write_complex(cbuffer, value, byte_order)¶
- Parameters:
cbuffer (
int
) – the character buffervalue (
Ags.Complex
) – theAgs.Complex
valuebyte_order (
int
) – reverse order
Write a
Ags.Complex
quantity to cbuffer.New in version 3.0.0.
- classmethod char_buffer_write_double(cbuffer, value, byte_order)¶
- Parameters:
Write a
float
quantity to cbuffer.New in version 3.0.0.
- classmethod char_buffer_write_float(cbuffer, value, byte_order)¶
- Parameters:
Write a
float
quantity to cbuffer.New in version 3.0.0.
- classmethod char_buffer_write_s16(cbuffer, value, byte_order)¶
- Parameters:
Write a gint16 quantity to cbuffer.
New in version 3.0.0.
- classmethod char_buffer_write_s24(cbuffer, value, byte_order)¶
- Parameters:
Write a gint32 quantity to cbuffer.
New in version 3.0.0.
- classmethod char_buffer_write_s32(cbuffer, value, byte_order)¶
- Parameters:
Write a gint32 quantity to cbuffer.
New in version 3.0.0.
- classmethod char_buffer_write_s64(cbuffer, value, byte_order)¶
- Parameters:
Write a gint64 quantity to cbuffer.
New in version 3.0.0.
- classmethod char_buffer_write_s8(cbuffer, value, byte_order)¶
- Parameters:
Write a gint8 quantity to cbuffer.
New in version 3.0.0.
- classmethod complex_to_char_buffer(buffer, buffer_length)¶
- Parameters:
buffer (
Ags.Complex
) – theAgs.Complex
bufferbuffer_length (
int
) – the buffer length
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.
- classmethod double_to_char_buffer(buffer, buffer_length)¶
- Parameters:
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.
- classmethod float_to_char_buffer(buffer, buffer_length)¶
- Parameters:
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.
- classmethod s16_to_char_buffer(buffer, buffer_length)¶
- Parameters:
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.
- classmethod s24_to_char_buffer(buffer, buffer_length)¶
- Parameters:
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.
- classmethod s32_to_char_buffer(buffer, buffer_length)¶
- Parameters:
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.
- classmethod s64_to_char_buffer(buffer, buffer_length)¶
- Parameters:
- Returns:
the guchar buffer
- Return type:
Pack buffer into an guchar buffer.
New in version 3.0.0.