alpha
Login
or
Join now
karlseguin.tngl.sh
/
buffer.zig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A poolable string builder (aka string buffer) for Zig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
std.io.Writer -> std.Io.Writer
author
Ben Jordan
committer
GitHub
date
10 months ago
(Sep 13, 2025, 11:00 AM -0400)
commit
434b36c1
434b36c13202ed07995fbd24062061375be9bf45
parent
30f9512f
30f9512f61127efda1049c9064e533efa82c26f7
+1
-1
1 changed file
Expand all
Collapse all
Unified
Split
src
buffer.zig
+1
-1
src/buffer.zig
View file
Reviewed
···
60
60
}
61
61
}
62
62
63
63
-
pub fn drain(io_w: *std.io.Writer, data: []const []const u8, splat: usize) error{WriteFailed}!usize {
63
63
+
pub fn drain(io_w: *std.Io.Writer, data: []const []const u8, splat: usize) error{WriteFailed}!usize {
64
64
_ = splat;
65
65
const self: *Buffer = @alignCast(@fieldParentPtr("interface", io_w));
66
66
self.write(data[0]) catch return error.WriteFailed;