DTC Protocol Discussion Forum
- DTC Protocol Discussion Forum |
- Search Board |
- Control Panel |
- View My Posts / Threads |
- Direct Messages
Date/Time: Fri, 29 Nov 2024 17:31:41 +0000
Post From: ServerOrderID of more than 32 bytes
[2015-09-16 00:20:42] |
DTC Engineering - Posts: 320 |
For longer than 32 characters, you will need to switch to Binary Encoding with Variable Length Strings. Or use Google Protocol Buffer encoding. but I don't know if it is ok for SC to have order ids that are raw binary strings as opposed to ASCII.
Yes it is as long as none of the bytes before the very end of the order ID has a zero value. Otherwise, it will be interpreted as a null-terminator ending the text string.I'm gonna represent it in Base64 or Hex instead
OK
|