fixed befavior of the "write"
fixed befavior of the "write" function in windows impl
Fixed behavior of the function in the windows implementation, now to
transfer data to the device don't need these data start from 0x00 byte.