Refactor write logic to ensure both buffers and non-buffers are attempted to be sent in a try..catch block
Refactor write logic to ensure both buffers and non-buffers are attempted to be sent in a try..catch block

rtc-io/rtc-dcstream