2023-03-25 19:59:38 +01:00
|
|
|
module bformat;
|
|
|
|
|
2023-03-25 20:39:50 +01:00
|
|
|
/**
|
|
|
|
* Encodes the provided message into the bformat format
|
|
|
|
* and sends it over the provided socket
|
|
|
|
*/
|
|
|
|
public import bformat.sockets : sendMessage;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Receives a message from the provided socket
|
|
|
|
* by decoding the streamed bytes into bformat
|
|
|
|
* and finally placing the resulting payload in
|
|
|
|
* the provided array
|
|
|
|
*/
|
|
|
|
public import bformat.sockets : receiveMessage;
|