Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix extra bytes in connection message. | Robby Zambito | 6 days |
| | |||
* | Add comments and fix tests | Robby Zambito | 6 days |
| | | | | | | | Also added networkBytesAsValue and restored bytesAsValue. These are useful for treating the bytes from the network directly as a Message. Otherwise, the init function would overwrite the packet type and length to be correct. I would like the message handling to fail if the message body is incorrect. | ||
* | Use slice for init, and add better error sets. | Robby Zambito | 6 days |
| | | | | | The slice sets us avoid allocating within the init function. This means init can't fail, and it also makes it easier to stack allocate messages (slice an array buffer, instead of creating a stack allocator). | ||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | Remove bytesAsValueUnchecked | Robby Zambito | 6 days |
| | | | | Callers can instead use std.mem.bytesAsValue directly. | ||
* | Cleanup asBytes and test it | Robby Zambito | 6 days |
| | |||
* | Simplify init interface | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | Align the bytes instead of the struct | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | (no commit message) | Robby Zambito | 6 days |
| | |||
* | Break out the impl to a lib | Robby Zambito | 2025-04-13 |
This will make it easier to make a C library. |