You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This case occurs when the AVP value should be a 64-bit integer per the Diameter standards.
So, constructing an AVP using the DiameterAVP class will serialize the data as a 32-bit integer.
avp = DiameterAVP(code=439, data=1)
Checking the avp.data attribute, you will see only 4 bytes where they should be 8 bytes.
The text was updated successfully, but these errors were encountered:
ofraiwan
changed the title
64-bit integer AVPs will be serialized as a 4-bit Integer
64-bit integer AVPs will be serialized as a 4-byte Integer
Feb 23, 2022
This case occurs when the AVP value should be a 64-bit integer per the Diameter standards.
So, constructing an AVP using the DiameterAVP class will serialize the data as a 32-bit integer.
avp = DiameterAVP(code=439, data=1)
Checking the
avp.data
attribute, you will see only 4 bytes where they should be 8 bytes.Ref: https://github.com/heimiricmr/bromelia/blob/master/docs/avps.md#constructor
The text was updated successfully, but these errors were encountered: