AutoApi.FailureMessageState.from_bin
You're seeing just the function
from_bin
, go back to AutoApi.FailureMessageState module for more information.
Specs
Build state based on binary value
iex> bin = <<4, 0, 21, 1, 0, 18, 115, 111, 109, 101, 116, 104, 105, 110, 103, 32, 104, 97, 112, 112, 101, 110, 101, 100>> iex> AutoApi.FailureMessageState.from_bin(bin) %AutoApi.FailureMessageState{failure_description: %AutoApi.Property{data: "something happened"}}