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

Method js

output/output.go:137–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137func (o *output) js() {
138 /*
139 const buffer = [
140 0x48, 0x65, 0x6C, 0x6C, 0x6F,
141 ];
142 */
143 fmt.Print("const buffer = [\n")
144
145 o.bytesArray(4, 8)
146
147 fmt.Println(",\n];")
148 fmt.Println()
149 fmt.Printf("const bufferSize = %d;\n", len(o.data))
150}
151
152func (o *output) php() {
153 /*

Callers 1

OutputFunction · 0.95

Calls 1

bytesArrayMethod · 0.95

Tested by

no test coverage detected