(idx int)
| 211 | } |
| 212 | |
| 213 | func (d *Decoder) internedStringAtIndex(idx int) (string, error) { |
| 214 | if idx >= len(d.dict) { |
| 215 | err := fmt.Errorf("msgpack: interned string at index=%d does not exist", idx) |
| 216 | return "", err |
| 217 | } |
| 218 | return d.dict[idx], nil |
| 219 | } |
| 220 | |
| 221 | func (d *Decoder) decodeInternedStringWithLen(n int, intern bool) (string, error) { |
| 222 | if n <= 0 { |
no outgoing calls
no test coverage detected