SMPPEX.Pdu.NetworkErrorCode.encode
You're seeing just the function
encode
, go back to SMPPEX.Pdu.NetworkErrorCode module for more information.
Specs
encode(type_code(), error_code()) :: network_error_code()
Converts network_error_code type and error to octet string
Example
iex(1)> SMPPEX.Pdu.NetworkErrorCode.encode(8,1)
<<08,00,01>>