update 1
decodeBuffer is working!