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