(typ super.Type, bytes scode.Bytes)
| 814 | } |
| 815 | |
| 816 | func FormatPrimitive(typ super.Type, bytes scode.Bytes) string { |
| 817 | var b strings.Builder |
| 818 | formatPrimitive(&b, typ, bytes) |
| 819 | return b.String() |
| 820 | } |
| 821 | |
| 822 | func formatPrimitive(b *strings.Builder, typ super.Type, bytes scode.Bytes) { |
| 823 | switch typ := typ.(type) { |