DecodeTimeTZValue decodes a value encoded by EncodeTimeTZValue.
(b []byte)
| 2998 | |
| 2999 | // DecodeTimeTZValue decodes a value encoded by EncodeTimeTZValue. |
| 3000 | func DecodeTimeTZValue(b []byte) (remaining []byte, t timetz.TimeTZ, err error) { |
| 3001 | b, err = decodeValueTypeAssert(b, TimeTZ) |
| 3002 | if err != nil { |
| 3003 | return b, timetz.TimeTZ{}, err |
| 3004 | } |
| 3005 | return DecodeUntaggedTimeTZValue(b) |
| 3006 | } |
| 3007 | |
| 3008 | // DecodeUntaggedTimeTZValue decodes a value encoded by EncodeUntaggedTimeTZValue. |
| 3009 | func DecodeUntaggedTimeTZValue(b []byte) (remaining []byte, t timetz.TimeTZ, err error) { |
no test coverage detected
searching dependent graphs…