-
Notifications
You must be signed in to change notification settings - Fork 2
Open
0 / 10 of 1 issue completedLabels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
Simple Binary Encoding is FIX semantics in a Binary Format:
Here is CME's documentation on SBE with an example
The code generator will be a rust script that does file i/o to transform some XML template into rust code that can encode and decode SBE serialized messages to be sent and recieved over tcp streams
Example:
The script might turn this:
<message name="Order" id="1" blockLength="24">
<field name="OrderID" type="u64" offset="0"/>
<field name="Side" type="u8" offset="8"/>
</message>
Into this:
pub struct Order {
pub order_id: u64,
pub side: u8,
}
impl Order {
pub fn encode(&self) -> Vec<u8> { ... }
pub fn decode(buf: &[u8]) -> Self { ... }
}Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed