51 Commits

Author SHA1 Message Date
Joel Wetzell e0d4b58606 mess around with fuzzing 2026-05-20 17:44:05 -05:00
Joel Wetzell 2df4cd56f7 add size check to chunk datalen 2026-05-20 17:44:01 -05:00
Joel Wetzell 145c13a976 some linting things 2026-05-17 09:25:27 -05:00
Joel Wetzell e7bdeb46ff add basic chunk benchmark 2026-05-14 21:17:51 -05:00
Joel Wetzell a79bca637c chore: go fix 2026-05-09 14:21:06 -05:00
Joel Wetzell eb8c6aba19 use t.Run for tests 2026-02-27 22:30:52 -06:00
Joel Wetzell 0b20f3ffb9 update examples v0.3.0 2025-12-04 17:46:58 -06:00
Joel Wetzell 98a458ca43 switch to using pointers to trackers 2025-12-04 17:46:51 -06:00
Joel Wetzell e3a7268487 fix chunk decoding edge case v0.2.1 2025-12-01 17:21:07 -06:00
jwetzell 77c0be5b35 Merge pull request #4 from jwetzell/chore/organize-types
move types out of decoders package
v0.2.0
2025-10-17 15:35:11 -05:00
jwetzell 7b1dc4bfd6 move types out of decoders package 2025-10-17 15:27:33 -05:00
jwetzell 7dd6d45a08 add tests for encoding data tracker fields 2025-10-17 12:42:17 -05:00
jwetzell 631537b473 change property name 2025-10-17 12:41:59 -05:00
jwetzell bdaf7fd327 add test for encoding packet header chunk 2025-10-17 12:39:45 -05:00
jwetzell d53fe09bfc add tests for encoding info related chunks 2025-10-17 12:35:31 -05:00
jwetzell a0ba854fee add tests for decoding packet header chunk 2025-10-17 12:34:27 -05:00
jwetzell 4c508c37f3 add tests for decoding info related chunks 2025-10-17 12:34:13 -05:00
jwetzell c7f503ee99 add tests for decoding tracker and tracker list chunks 2025-10-17 12:33:46 -05:00
jwetzell 75ba023226 add tests for decoding status, timestamp and xyz chunks 2025-10-16 21:41:28 -05:00
jwetzell b1e1367662 add tests for decoding data and info packet chunks 2025-10-16 21:19:45 -05:00
jwetzell 3271c0f82c add GitHub Actions workflow for encoder tests 2025-10-16 13:27:41 -05:00
jwetzell 15cf2e8052 Modify Go version setup and remove coverage report
Updated the Go version setup and removed the code coverage step.
2025-10-16 13:26:12 -05:00
jwetzell f7ceefc203 Merge pull request #3 from jwetzell/chore/chunk-decoder-testing
add test case to check error scenario in chunk decoder
2025-10-16 13:23:34 -05:00
jwetzell 3af4413e84 Update test_decoders.yaml to remove path filter
Removed path filter for the push event in the test_decoders workflow.
2025-10-16 13:19:57 -05:00
jwetzell 017f8ea20f Update Go version from 1.23.1 to 1.25.3 2025-10-16 13:19:05 -05:00
jwetzell 65947914b3 add test case to check error scenario 2025-10-16 13:15:44 -05:00
jwetzell 1bf0c7c0f0 Update coverage profile file name in test workflow 2025-10-16 13:13:23 -05:00
jwetzell 8c2a580b75 add github action to test decoders 2025-10-16 13:08:38 -05:00
jwetzell f8fde1a796 fieldalignmenttool 2024-12-26 14:55:33 -06:00
jwetzell 610344e706 log formatting 2024-12-25 09:34:19 -06:00
jwetzell 0e03f68a59 cleanup logging 2024-12-25 09:30:51 -06:00
jwetzell 0877357b78 have decoder return err 2024-12-24 00:01:51 -06:00
jwetzell 6bc6fb3668 add most basic error handling on the decode side 2024-12-23 23:59:11 -06:00
jwetzell 0c297d606d add basic chunk encoding test 2024-12-21 14:35:54 -06:00
jwetzell f5b944579d consistent use of hex value 2024-12-19 21:50:33 -06:00
jwetzell ea184a936d gofumpt 2024-12-19 21:48:46 -06:00
jwetzell a6cfd3db86 add README v0.1.0 2024-12-19 20:50:25 -06:00
jwetzell 6764381c00 fix benchmark test sizes 2024-12-19 20:50:04 -06:00
jwetzell 01e0ffc3a6 cleanup function layout for decoders 2024-12-19 20:40:54 -06:00
jwetzell 35ec9e34c1 fix up more for loops in benchmark 2024-12-19 20:31:28 -06:00
jwetzell 75a640c491 cleanup for loops 2024-12-19 20:12:19 -06:00
jwetzell da11301823 port benchmark script for psn-js 2024-12-19 19:40:45 -06:00
jwetzell afe963718a cleanup json fields 2024-12-19 18:41:43 -06:00
jwetzell 9a66dd02bb remove unneeded type 2024-12-19 18:35:00 -06:00
jwetzell eb1785f668 recreate examples from psn-js and vyv 2024-12-19 18:30:35 -06:00
jwetzell e8422106ca add high level library for decoding and encoding 2024-12-19 18:30:19 -06:00
jwetzell df3a3de47c remove constants in decoders 2024-12-19 18:28:35 -06:00
jwetzell e3bbb970be add crude encoding of PSN chunks 2024-12-19 18:28:12 -06:00
jwetzell 03ec5a4019 cleanup unused type 2024-12-18 22:58:14 -06:00
jwetzell 0a74b6a956 add decode functions for info and data packets 2024-12-18 22:48:08 -06:00