add crude encoding of PSN chunks

This commit is contained in:
2024-12-19 18:28:12 -06:00
parent 03ec5a4019
commit e3bbb970be
17 changed files with 213 additions and 0 deletions
@@ -0,0 +1,11 @@
package encoders
func EncodeDataTrackerListChunk(trackerChunks [][]byte) []byte {
trackerChunkBytes := []byte{}
for _, trackerChunk := range trackerChunks {
trackerChunkBytes = append(trackerChunkBytes, trackerChunk...)
}
return EncodeChunk(0x0001, trackerChunkBytes, true)
}