I am writing a forward server, read some data, and forward it.

vibe.d has only the read method, it will block until the buf is fully filled.

I want a "read some" method,if data comes , readSome method will return, and I can forward the received data.

what should I do?