encoding for incoming data is unknown, so our buffer should be binary.