AutoApi.WindowsState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.WindowsState module for more information.
Specs
Build state based on binary value
iex> bin = <<2, 0, 12, 1, 0, 9, 4, 63, 199, 10, 61, 112, 163, 215, 10>> iex> AutoApi.WindowsState.from_bin(bin) %AutoApi.WindowsState{open_percentages: [%AutoApi.Property{data: %{location: :hatch, open_percentage: 0.18}}]}