String formats `oid` as a string in hex format.
()
| 37 | |
| 38 | // String formats `oid` as a string in hex format. |
| 39 | func (oid OID) String() string { |
| 40 | return hex.EncodeToString(oid.v[:]) |
| 41 | } |
| 42 | |
| 43 | // Bytes returns a byte slice view of `oid`, in binary format. |
| 44 | func (oid OID) Bytes() []byte { |
no outgoing calls