EncodeTimeDescending is the descending version of EncodeTimeAscending.
(b []byte, t time.Time)
| 901 | |
| 902 | // EncodeTimeDescending is the descending version of EncodeTimeAscending. |
| 903 | func EncodeTimeDescending(b []byte, t time.Time) []byte { |
| 904 | return encodeTime(b, ^t.Unix(), ^int64(t.Nanosecond())) |
| 905 | } |
| 906 | |
| 907 | func encodeTime(b []byte, unix, nanos int64) []byte { |
| 908 | // Read the unix absolute time. This is the absolute time and is |
nothing calls this directly
no test coverage detected
searching dependent graphs…