Use buf.getvalue() instead of buf.read() to send miniseed
When writing to BytesIO, the position is at the end of the stream. read() should work if seek(0) reset the position, or getvalue() returns all the data that was written as expected.
When writing to BytesIO, the position is at the end of the stream. read() should work if seek(0) reset the position, or getvalue() returns all the data that was written as expected.