pub fn tag(self: *Encoder, tag_: Tag) !void
Encode a tag.
self: *Encoder
tag_: Tag
104 105 106 107 108
pub fn tag(self: *Encoder, tag_: Tag) !void { const t = self.mergedTag(tag_); var buf: [Tag.max_encoded_len]u8 = undefined; try self.buffer.prependSlice(t.encodeToSlice(&buf)); }
Encode a tag.