The 'p' (Pascal string) pack code acts unreasonably when the string size
and count exceed 255. Changed to preserve as much of the string as possible (instead of count%256 characters).
Showing
Please
register
or
sign in
to comment
and count exceed 255. Changed to preserve as much of the string as possible (instead of count%256 characters).