(in []byte)
| 91 | } |
| 92 | |
| 93 | func (pe *prepEncoder) putRawBytes(in []byte) error { |
| 94 | if len(in) > math.MaxInt32 { |
| 95 | return PacketEncodingError{fmt.Sprintf("byteslice too long (%d)", len(in))} |
| 96 | } |
| 97 | pe.length += len(in) |
| 98 | return nil |
| 99 | } |
| 100 | |
| 101 | func (pe *prepEncoder) putUuid(in Uuid) error { |
| 102 | pe.length += 16 |
no outgoing calls
no test coverage detected