EncodeUntaggedBytesValue encodes a byte array value, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, data []byte)
| 2644 | // EncodeUntaggedBytesValue encodes a byte array value, appends it to the supplied |
| 2645 | // buffer, and returns the final buffer. |
| 2646 | func EncodeUntaggedBytesValue(appendTo []byte, data []byte) []byte { |
| 2647 | appendTo = EncodeNonsortingUvarint(appendTo, uint64(len(data))) |
| 2648 | return append(appendTo, data...) |
| 2649 | } |
| 2650 | |
| 2651 | // EncodeArrayValue encodes a byte array value with its value tag, appends it to |
| 2652 | // the supplied buffer, and returns the final buffer. |
no test coverage detected
searching dependent graphs…