i have message variable length of 7bit characters encoded. unfortunately 7bit characters stored in message 7bit. means last byte of message not aligned byte boundary.
decoding message preon works fine, when encoding decoded message preon , comparing byte arrays, arrays not match in length. encoded byte array 1 byte smaller original one.
i debugged preon because assumed bug, works designed. when byte boundary reached, preon stores remaining bits until next write() call bitchannel occures. last byte there no further call.
the question is, there way tell preon flush remaining buffer?
Comments
Post a Comment