Function tag [src]
Encode a tag.
Prototype
pub fn tag(self: *Encoder, tag_: Tag) !void
Parameters
self: *Encoder
tag_: Tag
Source
pub fn tag(self: *Encoder, tag_: Tag) !void {
const t = self.mergedTag(tag_);
try t.encode(self.writer());
}