AutoApi.DiagnosticsState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.DiagnosticsState module for more information.
Specs
Build state based on binary value
iex> bin = <<22, 0, 11, 1, 0, 8, 64, 40, 0, 0, 0, 0, 0, 0>> iex> AutoApi.DiagnosticsState.from_bin(bin) %AutoApi.DiagnosticsState{engine_load: %AutoApi.Property{data: 12.0}}