fix out and input buffer write error
fix out and input buffer write error

xylophone21/android-binder-standalone,xylophone21/android-binder-standalone,xylophone21/android-binder-standalone,xylophone21/android-binder-standalone