(bytes scode.Bytes, d nano.Duration)
| 67 | } |
| 68 | |
| 69 | func AppendDuration(bytes scode.Bytes, d nano.Duration) scode.Bytes { |
| 70 | return AppendInt(bytes, int64(d)) |
| 71 | } |
| 72 | |
| 73 | func DecodeDuration(zv scode.Bytes) nano.Duration { |
| 74 | return nano.Duration(DecodeInt(zv)) |
no test coverage detected