write bytes based on return type, not size of the buffer
write bytes based on return type, not size of the buffer

whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux