(b []byte, unix, nanos int64)
| 905 | } |
| 906 | |
| 907 | func encodeTime(b []byte, unix, nanos int64) []byte { |
| 908 | // Read the unix absolute time. This is the absolute time and is |
| 909 | // not time zone offset dependent. |
| 910 | b = append(b, timeMarker) |
| 911 | b = EncodeVarintAscending(b, unix) |
| 912 | b = EncodeVarintAscending(b, nanos) |
| 913 | return b |
| 914 | } |
| 915 | |
| 916 | // DecodeTimeAscending decodes a time.Time value which was encoded using |
| 917 | // EncodeTime. The remainder of the input buffer and the decoded |
no test coverage detected
searching dependent graphs…