(w io.Writer, s string)
| 1172 | } |
| 1173 | |
| 1174 | func appendUnquotedByte(w io.Writer, s string) bool { |
| 1175 | if len(s) < 2 { |
| 1176 | return false |
| 1177 | } |
| 1178 | u, err := strconv.ParseUint(s[:2], 16, 8) |
| 1179 | if err != nil { |
| 1180 | return false |
| 1181 | } |
| 1182 | n, _ := w.Write([]byte{byte(u)}) |
| 1183 | return n == 1 |
| 1184 | } |
| 1185 | |
| 1186 | type identity struct{} |
| 1187 |