methods that  send buffer to PC