AutoApi.LightsState.from_bin

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

Specs

from_bin(binary()) :: t()

Build state based on binary value

iex> bin = <<5, 0, 4, 1, 0, 1, 1>> iex> AutoApi.LightsState.from_bin(bin) %AutoApi.LightsState{reverse_light: %AutoApi.Property{data: :active}}