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
Unmarshal/Marshal/Unmarshal was not idempotent as the Object Identifier type was not returned through the interface. The limit case OID = 0 returns an error. The zero OID is {0.0}
If bytes are transmitted to Marshal, a sequence of bytes is returned and not an OID and this is the intended behavior. Object Identifier is a list of int and the example submitted translates to \x06\x010 = \x06\x01 + "0" which is OID {1,8} coded as \x06\x01\x30
The following program:
prints:
The slice should not get lost during marshal/unmarshal.
on commit b0532a9
The text was updated successfully, but these errors were encountered: