SMPPEX.Pdu.NetworkErrorCode.decode

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

Specs

Converts octet_string from network_error_code tag to type_code and error_value

Example

iex(1)> SMPPEX.Pdu.NetworkErrorCode.decode(<<08,00,01>>)
{8, 1}