EncodeUntaggedTimeTZValue encodes a time.Time value, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, t timetz.TimeTZ)
| 2679 | // EncodeUntaggedTimeTZValue encodes a time.Time value, appends it to the supplied buffer, |
| 2680 | // and returns the final buffer. |
| 2681 | func EncodeUntaggedTimeTZValue(appendTo []byte, t timetz.TimeTZ) []byte { |
| 2682 | appendTo = EncodeNonsortingStdlibVarint(appendTo, int64(t.TimeOfDay)) |
| 2683 | return EncodeNonsortingStdlibVarint(appendTo, int64(t.OffsetSecs)) |
| 2684 | } |
| 2685 | |
| 2686 | // EncodeVoidValue encodes a void with its value tag, appends it to |
| 2687 | // the supplied buffer and returns the final buffer. |
no test coverage detected
searching dependent graphs…