EncodeUntaggedTimeTZValue encodes a time.Time value, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, t timetz.TimeTZ)
| 1917 | // EncodeUntaggedTimeTZValue encodes a time.Time value, appends it to the supplied buffer, |
| 1918 | // and returns the final buffer. |
| 1919 | func EncodeUntaggedTimeTZValue(appendTo []byte, t timetz.TimeTZ) []byte { |
| 1920 | appendTo = EncodeNonsortingStdlibVarint(appendTo, int64(t.TimeOfDay)) |
| 1921 | return EncodeNonsortingStdlibVarint(appendTo, int64(t.OffsetSecs)) |
| 1922 | } |
| 1923 | |
| 1924 | // EncodeDecimalValue encodes an apd.Decimal value with its value tag, appends |
| 1925 | // it to the supplied buffer, and returns the final buffer. |
no test coverage detected
searching dependent graphs…