EncodeRawBytes appends a length-prefixed raw bytes to the buffer.
(v []byte)
| 166 | |
| 167 | // EncodeRawBytes appends a length-prefixed raw bytes to the buffer. |
| 168 | func (b *Buffer) EncodeRawBytes(v []byte) error { |
| 169 | b.buf = protowire.AppendBytes(b.buf, v) |
| 170 | return nil |
| 171 | } |
| 172 | |
| 173 | // EncodeStringBytes appends a length-prefixed raw bytes to the buffer. |
| 174 | // It does not validate whether v contains valid UTF-8. |
no outgoing calls