()
| 264 | } |
| 265 | |
| 266 | func (o *output) java() { |
| 267 | /* |
| 268 | byte[] buffer = new byte[] { |
| 269 | 0x30, 0x63, 0x3A, 0x30, 0x64 |
| 270 | }; |
| 271 | */ |
| 272 | fmt.Printf("byte[] buffer = new byte[] {\n") |
| 273 | |
| 274 | o.bytesArray(4, 8) |
| 275 | |
| 276 | fmt.Println(",\n};") |
| 277 | fmt.Println() |
| 278 | fmt.Printf("int bufferSize = %d;\n", len(o.data)) |
| 279 | } |