parsebytes(bytes, headersonly=False)
Similar to the parse() method, except it takes a byte string object instead of a file-like object. Calling this method on a byte string is exactly equivalent to wrapping text in a BytesIO instance first and calling parse().
Optional headersonly is as with the parse() method.
Please login to continue.