AutoApi.VehicleLocationState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.VehicleLocationState{heading: %AutoApi.Property{data: %{value: 175.81, unit: :degrees}}} iex> AutoApi.VehicleLocationState.to_bin(state) <<5, 0, 13, 1, 0, 10, 2, 0, 64, 101, 249, 235, 133, 30, 184, 82>>