Commit Graph

12 Commits

Author SHA1 Message Date
ec04fa1fb6 Fix pdu tests 2024-07-24 19:09:14 +02:00
f30680c26f Rework every uint8 to byte and rework every []byte to bytes.Buffer
Some checks failed
Benchmark BufferPool / RunBenchmarks (push) Failing after 17s
Run Tests / Test (push) Failing after 15s
I just learnt that uint8 and byte are the fucking same
And that bytes.Buffer is the thing to use
Idiot idiot idiot...
Live and learn
2024-07-24 18:48:12 +02:00
bed69fbfd3 Add more benchmarks?
All checks were successful
Run Tests / Test (push) Successful in 25s
Benchmark BufferPool / RunBenchmarks (push) Successful in 28s
2024-07-24 11:32:09 +02:00
3d7702f1c6 Add pdu benchmarks
All checks were successful
Run Tests / Test (push) Successful in 29s
Benchmark BufferPool / RunBenchmarks (push) Successful in 35s
2024-07-24 11:15:35 +02:00
PhatPhuckDave
aff4ffe070 update 2024-07-23 13:41:27 +02:00
PhatPhuckDave
3d0d8ce676 Rework encode to return pointer 2024-07-22 23:09:32 +02:00
PhatPhuckDave
abfba3b5a7 Make every struct have a header header and not inherit the header 2024-07-22 22:52:04 +02:00
PhatPhuckDave
785c742ee2 Implement size to pdu header 2024-07-22 22:30:34 +02:00
PhatPhuckDave
73c7266a2f Refactor the decode tests 2024-07-22 22:29:47 +02:00
PhatPhuckDave
4a819f1563 Add more tests for encoding 2024-07-22 22:29:47 +02:00
PhatPhuckDave
35bce83eee Add tests for decode 2024-07-22 22:15:51 +02:00
PhatPhuckDave
7f52eccc6c Add tests for pdu encoding 2024-07-22 22:03:46 +02:00