Function fixedBufferStream [src]
Alias for std.io.fixed_buffer_stream.fixedBufferStream
Prototype
pub fn fixedBufferStream(buffer: anytype) FixedBufferStream(Slice(@TypeOf(buffer)))
Source
pub fn fixedBufferStream(buffer: anytype) FixedBufferStream(Slice(@TypeOf(buffer))) {
return .{ .buffer = buffer, .pos = 0 };
}