SMPPEX.Pdu.NetworkErrorCode.encode

You're seeing just the function encode, go back to SMPPEX.Pdu.NetworkErrorCode module for more information.
Link to this function

encode(type_code, error_code)

View Source

Specs

Converts network_error_code type and error to octet string

Example

iex(1)> SMPPEX.Pdu.NetworkErrorCode.encode(8,1)
<<08,00,01>>