AutoApi.DashboardLightsState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.DashboardLightsState{dashboard_lights: [%AutoApi.Property{data: %{name: :low_beam, state: :off}}]} iex> AutoApi.DashboardLightsState.to_bin(state) <<1, 0, 5, 1, 0, 2, 1, 0>>