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

Method rust

output/output.go:182–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180}
181
182func (o *output) rust() {
183 /*
184 let buffer: [u8; 5] = [
185 0x48, 0x65, 0x6C, 0x6C, 0x6F,
186 ];
187 */
188 fmt.Printf("let buffer: [u8; %d] = [\n", len(o.data))
189
190 o.bytesArray(4, 8)
191
192 fmt.Println(",\n];")
193 fmt.Println()
194 fmt.Printf("let bufferSize = %d;\n", len(o.data))
195}
196
197func (o *output) powershell() {
198 /*

Callers 1

OutputFunction · 0.95

Calls 1

bytesArrayMethod · 0.95

Tested by

no test coverage detected