the SDU has this size the function will return. This is an old piece of code where 255 meant -1 which was what was returned from the asn1c encoding function if the ASN.1 message was not encodable.