R
rob
An existing C# app that uses ascii commands via TCP/IP now needs to
transmit binary data. The current sync mechanism makes use of high
bits, so I'd prefer to simply encode the binary data to 7-bits, and
back at the receiver.
I believe the app can take the performance hit from sacrificing 1 bit
out of 8, but not for encoding as hex ascii.
I know the base code could probably be written easily enough, but
there are a couple logistic corners, so I thought I'd check to see how
others have handled this, and what the options are This seems like
something that would come up fairly often.
transmit binary data. The current sync mechanism makes use of high
bits, so I'd prefer to simply encode the binary data to 7-bits, and
back at the receiver.
I believe the app can take the performance hit from sacrificing 1 bit
out of 8, but not for encoding as hex ascii.
I know the base code could probably be written easily enough, but
there are a couple logistic corners, so I thought I'd check to see how
others have handled this, and what the options are This seems like
something that would come up fairly often.