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,7 @@
package encoders
func EncodeInfoTrackerNameChunk(trackerName string) []byte {
nameBytes := []uint8(trackerName)
return EncodeChunk(0x0000, nameBytes, false)
}