AutoApi.VehicleTimeState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.VehicleTimeState{vehicle_time: %AutoApi.Property{data: %{hour: 12, minute: 42}}} iex> AutoApi.VehicleTimeState.to_bin(state) <<1, 0, 5, 1, 0, 2, 12, 42>>