DecodeTimeTZValue decodes a value encoded by EncodeTimeTZValue.
(b []byte)
| 2156 | |
| 2157 | // DecodeTimeTZValue decodes a value encoded by EncodeTimeTZValue. |
| 2158 | func DecodeTimeTZValue(b []byte) (remaining []byte, t timetz.TimeTZ, err error) { |
| 2159 | b, err = decodeValueTypeAssert(b, TimeTZ) |
| 2160 | if err != nil { |
| 2161 | return b, timetz.TimeTZ{}, err |
| 2162 | } |
| 2163 | return DecodeUntaggedTimeTZValue(b) |
| 2164 | } |
| 2165 | |
| 2166 | // DecodeUntaggedTimeTZValue decodes a value encoded by EncodeUntaggedTimeTZValue. |
| 2167 | func DecodeUntaggedTimeTZValue(b []byte) (remaining []byte, t timetz.TimeTZ, err error) { |
no test coverage detected
searching dependent graphs…