AutoApi.FuelingState.to_bin

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

Specs

to_bin(t()) :: binary()

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>>