mirror of
https://github.com/besterprotocol/bformat
synced 2023-12-13 21:30:24 +01:00
15 lines
387 B
D
15 lines
387 B
D
module bformat;
|
|
|
|
/**
|
|
* 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; |