Module orca_decoder_generic_response

Data Types

incomplete_ctx()

incomplete_ctx() = #expect_field{fields_rev_acc = [binary()], fields_left = pos_integer()} | #expect_eof_before_rows{field_def_packets = [binary()]} | #expect_row_or_eof{field_def_packets = [binary()], rows_rev_acc = [binary()]}

packet_prop()

packet_prop() = {atom(), term()}

packet_type()

packet_type() = ok_packet | err_packet | request_local_file_content

Function Index

decode/1
decode_continue/2

Function Details

decode/1

decode(Bin0::binary()) -> {ok, {packet_type(), [packet_prop()]}} | {incomplete, incomplete_ctx()}

decode_continue/2

decode_continue(Bin, Expect_field) -> any()


Generated by EDoc