AutoApi.TheftAlarmState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.TheftAlarmState{status: %AutoApi.Property{data: :triggered}} iex> AutoApi.TheftAlarmState.to_bin(state) <<1, 0, 4, 1, 0, 1, 2>>