(in []byte)
| 82 | } |
| 83 | |
| 84 | func (pe *prepEncoder) putVarintBytes(in []byte) error { |
| 85 | if in == nil { |
| 86 | pe.putVarint(-1) |
| 87 | return nil |
| 88 | } |
| 89 | pe.putVarint(int64(len(in))) |
| 90 | return pe.putRawBytes(in) |
| 91 | } |
| 92 | |
| 93 | func (pe *prepEncoder) putRawBytes(in []byte) error { |
| 94 | if len(in) > math.MaxInt32 { |
nothing calls this directly
no test coverage detected