Added buffering on byte transfer.