filetype.py
filetype.py copied to clipboard
Is there a way to read more than the first 256 Bytes?
I am trying to pass a long array of bytes to the function but the characters that identify the file go beyond 256 bytes.
@matthewme Can you be more specific?
What is your use case, which filetype are you trying to infer?
Can you monkeypatch https://github.com/h2non/filetype.py/blob/master/filetype/utils.py#L10 ?