bformat

bformat encoder/decoder

Modules

marshall
module bformat.marshall

Standalone encoding/decoding functions

sockets
module bformat.sockets

Socket encoding/decoding functions

Members

Imports

decodeMessage (from bformat.marshall)
public import bformat.marshall : decodeMessage;

Decodes the provided bformat message into the message itself

encodeBformat (from bformat.marshall)
public import bformat.marshall : encodeBformat;

Encodes the provided message into the bformat format

receiveMessage (from bformat.sockets)
public import bformat.sockets : receiveMessage;

Receives a message from the provided socket by decoding the streamed bytes into bformat and finally placing the resulting payload in the provided array

sendMessage (from bformat.sockets)
public import bformat.sockets : sendMessage;

Encodes the provided message into the bformat format and sends it over the provided socket

Meta