Function stringNull [src]
Prototype
pub fn stringNull(self: *Builder, bytes: [:0]const u8) Allocator.Error!String
Parameters
self: *Builder
bytes: [:0]const u8
Source
pub fn stringNull(self: *Builder, bytes: [:0]const u8) Allocator.Error!String {
return self.string(bytes[0 .. bytes.len + 1]);
}