filetype.py icon indicating copy to clipboard operation
filetype.py copied to clipboard

Is there a way to read more than the first 256 Bytes?

Open matthewme opened this issue 5 years ago • 1 comments

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 avatar Jul 10 '19 19:07 matthewme

@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 ?

dosas avatar Dec 27 '20 16:12 dosas