mirror of
https://github.com/besterprotocol/bformat
synced 2023-12-13 21:30:24 +01:00
Package (bformat)
- Documented both imports seperately
This commit is contained in:
parent
0cb0365dea
commit
1f7cb11804
|
@ -1,3 +1,15 @@
|
||||||
module bformat;
|
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;
|
Loading…
Reference in a new issue