summaryrefslogtreecommitdiff
path: root/src/saprus_message.zig
Commit message (Collapse)AuthorAge
* Use dynamic array instead of arraylistHEADmasterRobby Zambito13 days
| | | | we know the size (assuming the len is correct) so we can preallocate the whole array
* Don't print help after sending messageRobby Zambito13 days
|
* Move binary back to zaprusRobby Zambito13 days
| | | | 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 Zambito13 days
| | | | writing
* Write the header as a packed intRobby Zambito13 days
| | | | this seems like the best way to do it.
* Not using writerRobby Zambito13 days
| | | | | 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 Zambito13 days
|
* Move sendRelay logic to Saprus structRobby Zambito13 days
|
* Move types to their own fileRobby Zambito13 days
Make it so I can specify the payload message