added method WriteByteData