summaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-22 05:08:07 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-22 13:35:41 +0200
commitb9707ce08fe65f3a1fa09f033351a32077dde906 (patch)
treeb2f73a3a884b0099385f5ef2d1496b19fe4d6c21 /servers/visual_server.h
parent5a03d50921d4d9e33fc3cd4adb1ea663819e2072 (diff)
StreamPeer get[_utf8]_string with negative length.
If the "bytes" parameter of get_string and get_utf8_string is negative, the length will be read from the stream instead. The bytes parameter has now a default (-1), allowing to use them directly as reverses of put_string and put_utf8_string . put_string was not implemented, so I implemented it to allow sending ASCII strings (which are much smaller than UTF8 ones).
Diffstat (limited to 'servers/visual_server.h')
0 files changed, 0 insertions, 0 deletions