AutoApi.MobileState.to_bin
You're seeing just the function
to_bin
, go back to AutoApi.MobileState module for more information.
Specs
Parse state to bin
iex> state = %AutoApi.MobileState{connection: %AutoApi.Property{data: :connected}} iex> AutoApi.MobileState.to_bin(state) <<1, 4::integer-16, 1, 0, 1, 1>>