fix a case where the encoding buffer was not exchanged
fix a case where the encoding buffer was not exchanged

StalderT/open62541,open62541/open62541,jpfr/open62541,StalderT/open62541,open62541/open62541,JGrothoff/open62541,jpfr/open62541,JGrothoff/open62541,JGrothoff/open62541,jpfr/open62541,JGrothoff/open62541,open62541/open62541,jpfr/open62541,StalderT/open62541,open62541/open62541,StalderT/open62541