mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-04 07:27:26 +01:00
specify that groups shall be UTF8
group being a `char *` is logically a text type, which needs an encoding. Declare in the API that groups shall be UTF8-encoded, matching the `zmq_msg_gets` API, which is the other user-facing `char *` API, which has the same definition. This allows bindings to provide text-type APIs, which they cannot do if arbitrary bytes are allowed
This commit is contained in:
parent
1e393586c7
commit
3130b913fc
@ -160,6 +160,7 @@ and each message sent by Radio sockets belong to a group.
|
||||
|
||||
Groups are null terminated strings limited to 16 chars length (including null).
|
||||
The intention is to increase the length to 40 chars (including null).
|
||||
The encoding of groups shall be UTF8.
|
||||
|
||||
Groups are matched using exact matching (vs prefix matching of PubSub).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user