mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-09-11 09:09:36 +00:00
add crude encoding of PSN chunks
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package encoders
|
||||
|
||||
func EncodeInfoPacketChunk(packetHeaderChunk []byte, systemNameChunk []byte, trackerListChunk []byte) []byte {
|
||||
chunkData := append(packetHeaderChunk, systemNameChunk...)
|
||||
chunkData = append(chunkData, trackerListChunk...)
|
||||
|
||||
return EncodeChunk(0x6756, chunkData, true)
|
||||
}
|
||||
Reference in New Issue
Block a user