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