(n int)
| 52 | } |
| 53 | |
| 54 | func (d *Decoder) stringWithLen(n int) (string, error) { |
| 55 | if n <= 0 { |
| 56 | return "", nil |
| 57 | } |
| 58 | b, err := d.readN(n) |
| 59 | return string(b), err |
| 60 | } |
| 61 | |
| 62 | func decodeStringValue(d *Decoder, v reflect.Value) error { |
| 63 | s, err := d.DecodeString() |
no test coverage detected