Extend an existing OID.
(oid: ObjectIdentifier)
| 43 | |
| 44 | /// Extend an existing OID. |
| 45 | pub(crate) const fn extend(oid: ObjectIdentifier) -> Self { |
| 46 | Self { |
| 47 | state: State::Body, |
| 48 | bytes: oid.bytes, |
| 49 | cursor: oid.length as usize, |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | /// Encode an [`Arc`] as base 128 into the internal buffer. |
| 54 | pub(crate) const fn arc(mut self, arc: Arc) -> Result<Self> { |
no outgoing calls