(e *encoder, l uint32)
| 343 | } |
| 344 | |
| 345 | func (r *infoDescription) decode(e *encoder, l uint32) { |
| 346 | if l > (4 << 10) { |
| 347 | e.check(errors.New("description too large")) |
| 348 | } |
| 349 | b := make([]byte, l) |
| 350 | e.read(b) |
| 351 | r.description = string(b) |
| 352 | } |
| 353 | |
| 354 | type infoBlockSize struct { |
| 355 | min uint32 |