MCPcopy Create free account
hub / github.com/Print3M/ByteCaster / zig

Method zig

output/output.go:227–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225}
226
227func (o *output) zig() {
228 /*
229 const buffer: [5]u8 = [_]u8{
230 0x48, 0x65, 0x6C, 0x6C, 0x6F,
231 };
232 */
233 fmt.Printf("const buffer: [%d]u8 = [%d]u8{\n", len(o.data), len(o.data))
234
235 o.bytesArray(4, 8)
236
237 fmt.Println(",\n};")
238 fmt.Println()
239 fmt.Printf("const bufferSize = %d;\n", len(o.data))
240}
241
242func (o *output) python() {
243 /*

Callers 1

OutputFunction · 0.95

Calls 1

bytesArrayMethod · 0.95

Tested by

no test coverage detected