EncodeDurationValue encodes a duration.Duration value with its value tag, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, colID uint32, d duration.Duration)
| 1948 | // EncodeDurationValue encodes a duration.Duration value with its value tag, |
| 1949 | // appends it to the supplied buffer, and returns the final buffer. |
| 1950 | func EncodeDurationValue(appendTo []byte, colID uint32, d duration.Duration) []byte { |
| 1951 | appendTo = EncodeValueTag(appendTo, colID, Duration) |
| 1952 | return EncodeUntaggedDurationValue(appendTo, d) |
| 1953 | } |
| 1954 | |
| 1955 | // EncodeUntaggedDurationValue encodes a duration.Duration value, appends it to the |
| 1956 | // supplied buffer, and returns the final buffer. |
nothing calls this directly
no test coverage detected
searching dependent graphs…