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