EncodeUntaggedBytesValue encodes a byte array value, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, data []byte)
| 1882 | // EncodeUntaggedBytesValue encodes a byte array value, appends it to the supplied |
| 1883 | // buffer, and returns the final buffer. |
| 1884 | func EncodeUntaggedBytesValue(appendTo []byte, data []byte) []byte { |
| 1885 | appendTo = EncodeNonsortingUvarint(appendTo, uint64(len(data))) |
| 1886 | return append(appendTo, data...) |
| 1887 | } |
| 1888 | |
| 1889 | // EncodeArrayValue encodes a byte array value with its value tag, appends it to |
| 1890 | // the supplied buffer, and returns the final buffer. |
no test coverage detected
searching dependent graphs…