Base64 strings end with 0, 1 or 2 '=' characters. It's incorrect to assume that they always end with "==".
I think we also have to remove inference for binary strings because:
almost all "normal" strings which length is a multiple of 4 are also valid base64 strings
we could detect if the strings end with a '=' character. But this would only occur with a probability of 2/3, whereas the threshold is set to 0.75 (const INFER_CONFIDENCE = 0.75)
Base64 strings end with 0, 1 or 2 '=' characters. It's incorrect to assume that they always end with "==".
I think we also have to remove inference for binary strings because:
const INFER_CONFIDENCE = 0.75
)See https://github.com/frictionlessdata/tableschema-js/issues/125#issuecomment-561679940.
Please preserve this line to notify @roll (lead of this repository)