(b byte)
| 221 | } |
| 222 | |
| 223 | func bToi(b byte) (int, error) { |
| 224 | if b < '0' || b > '9' { |
| 225 | return 0, errors.New("not [0-9]") |
| 226 | } |
| 227 | return int(b - '0'), nil |
| 228 | } |
| 229 | |
| 230 | func parseBinaryDateTime(num uint64, data []byte, loc *time.Location) (driver.Value, error) { |
| 231 | switch num { |
no outgoing calls
no test coverage detected