tiny.pretty.renderAlloc
Defined in tiny.pretty.
Source
Source: lib/pretty/core/src/render.zig:60
zig
pub fn renderAlloc( allocator: std.mem.Allocator, doc: Doc, options: LayoutOptions,) ![]u8 { var out = std.Io.Writer.Allocating.init(allocator); defer out.deinit(); try write(&out.writer, doc, options); return try out.toOwnedSlice();}Source: lib/pretty/core/src/root.zig:124
zig
pub const renderAlloc = render.renderAlloc;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |