AutoApi.NotificationsState.to_bin

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

Specs

to_bin(t()) :: binary()

Parse state to bin

iex> state = %AutoApi.NotificationsState{text: %AutoApi.Property{data: "notification text"}} iex> AutoApi.NotificationsState.to_bin(state) <<1, 0, 20, 1, 0, 17, 110, 111, 116, 105, 102, 105, 99, 97, 116, 105, 111, 110, 32, 116, 101, 120, 116>>