AutoApi.DiagnosticsState.to_bin

You're seeing just the function to_bin, go back to AutoApi.DiagnosticsState module for more information.

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.DiagnosticsState{engine_load: %AutoApi.Property{data: 12}} iex> AutoApi.DiagnosticsState.to_bin(state) <<22, 0, 11, 1, 0, 8, 64, 40, 0, 0, 0, 0, 0, 0>>