AutoApi.DashboardLightsState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.DashboardLightsState module for more information.
Specs
Build state based on binary value
iex> bin = <<1, 0, 5, 1, 0, 2, 1, 1>> iex> AutoApi.DashboardLightsState.from_bin(bin) %AutoApi.DashboardLightsState{dashboard_lights: [%AutoApi.Property{data: %{name: :low_beam, state: :on}}]}