BinStruct.BuiltIn.TerminatedBinary (bin_struct v0.2.16)
Terminated binary implemented as BinStructCustomType
.
defmodule Struct do
use BinStruct
alias BinStruct.BuiltIn.TerminatedBinary
field :terminated_binary, { TerminatedBinary, termination: <<0, 0>> }
end