Optionally configure a maximum number of bytes to read after which an exception is thrown. This is to prevent an infinite loop if the prompt is never matched.
Optionally configure a maximum number of bytes to read after which an exception is thrown. This is to prevent an infinite loop if the prompt is never matched.