mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-09-11 00:59:39 +00:00
add crude encoding of PSN chunks
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package encoders
|
||||
|
||||
func EncodeInfoTrackerNameChunk(trackerName string) []byte {
|
||||
nameBytes := []uint8(trackerName)
|
||||
|
||||
return EncodeChunk(0x0000, nameBytes, false)
|
||||
}
|
||||
Reference in New Issue
Block a user