clp_ffi_py.ir.native_deprecated module#
- class clp_ffi_py.ir.native_deprecated.DecoderBuffer[source]#
Deprecated since version 0.0.13:
DecoderBuffer
is deprecated and has been renamed toDeserializerBuffer
.- __init__(input_stream, initial_buffer_capacity=4096)[source]#
- Parameters:
input_stream (IO[bytes])
initial_buffer_capacity (int)
- get_num_decoded_log_messages()[source]#
This method is deprecated and has been renamed to
get_num_deserialized_log_messages()
.- Return type:
int
- class clp_ffi_py.ir.native_deprecated.Decoder[source]#
Bases:
object
Deprecated since version 0.0.13:
Decoder
is deprecated and has been renamed toFourByteDeserializer
.- static decode_next_log_event(decoder_buffer, query=None, allow_incomplete_stream=False)[source]#
This method is deprecated and has been renamed to
deserialize_next_log_event()
.- Parameters:
decoder_buffer (DecoderBuffer)
query (Query | None)
allow_incomplete_stream (bool)
- Return type:
LogEvent | None
- static decode_preamble(decoder_buffer)[source]#
This method is deprecated and has been renamed to
deserialize_preamble()
.- Parameters:
decoder_buffer (DecoderBuffer)
- Return type:
- class clp_ffi_py.ir.native_deprecated.FourByteEncoder[source]#
Bases:
object
Deprecated since version 0.0.13:
FourByteEncoder
is deprecated and has been renamed toFourByteSerializer
.- static encode_end_of_ir()[source]#
This method is deprecated and has been renamed to
serialize_end_of_ir()
.- Return type:
bytearray
- static encode_message(msg)[source]#
This method is deprecated and has been renamed to
serialize_message()
.- Parameters:
msg (bytes)
- Return type:
bytearray
- static encode_message_and_timestamp_delta(timestamp_delta, msg)[source]#
This method is deprecated and has been renamed to
serialize_message_and_timestamp_delta()
.- Parameters:
timestamp_delta (int)
msg (bytes)
- Return type:
bytearray
- static encode_preamble(ref_timestamp, timestamp_format, timezone)[source]#
This method is deprecated and has been renamed to
serialize_preamble()
.- Parameters:
ref_timestamp (int)
timestamp_format (str)
timezone (str)
- Return type:
bytearray
- static encode_timestamp_delta(timestamp_delta)[source]#
This method is deprecated and has been renamed to
serialize_timestamp_delta()
.- Parameters:
timestamp_delta (int)
- Return type:
bytearray