summaryrefslogtreecommitdiff
path: root/src/saprus_message.zig
Commit message (Collapse)AuthorAge
* Use dynamic array instead of arraylistRobby Zambito2025-04-06
| | | | we know the size (assuming the len is correct) so we can preallocate the whole array
* Don't print help after sending messageRobby Zambito2025-04-06
|
* Move binary back to zaprusRobby Zambito2025-04-06
| | | | Also clean up the args for the aux functions by computing the type instead of passing it
* Correctly handle the endiness and packedness of the the header reading and ↵Robby Zambito2025-04-06
| | | | writing
* Write the header as a packed intRobby Zambito2025-04-06
| | | | this seems like the best way to do it.
* Not using writerRobby Zambito2025-04-06
| | | | | Use direct mem copying into the buf instead of writing to it with the writer interface. Probably better to use the writer actually, since this suffers from the same issue with the extra two null bytes.
* Initial testing of connection messageRobby Zambito2025-04-06
|
* Move sendRelay logic to Saprus structRobby Zambito2025-04-06
|
* Move types to their own fileRobby Zambito2025-04-06
Make it so I can specify the payload message