Package (bformat)

- Documented both imports seperately
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-25 21:39:50 +02:00
parent 0cb0365dea
commit 1f7cb11804
1 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,15 @@
module bformat;
public import bformat.sockets : sendMessage, receiveMessage;
/**
* 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;