pub fn tagBytes(self: *Encoder, tag_: Tag, bytes: []const u8) !void
Encode a tag and length-prefixed bytes.
self: *Encoder
tag_: Tag
bytes: []const u8
134 135 136 137 138
pub fn tagBytes(self: *Encoder, tag_: Tag, bytes: []const u8) !void { try self.buffer.prependSlice(bytes); try self.length(bytes.len); try self.tag(tag_); }
Encode a tag and length-prefixed bytes.