bidirectional binary transfer