Function appendByte [src]

Prototype

pub fn appendByte(self: *Self, allocator: Allocator, byte: u8) !void

Parameters

self: *Selfallocator: Allocatorbyte: u8

Source

pub fn appendByte(self: *Self, allocator: Allocator, byte: u8) !void { try self.buf.append(allocator, byte); self.len += 1; }