AutoApi.RemoteControlState.to_bin
You're seeing just the function
to_bin
, go back to AutoApi.RemoteControlState module for more information.
Specs
Parse state to bin
iex> state = %AutoApi.RemoteControlState{control_mode: %AutoApi.Property{data: :started}} iex> AutoApi.RemoteControlState.to_bin(state) <<1, 0, 4, 1, 0, 1, 2>>