parse response binary data