mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-08-25 08:59:17 +00:00
fieldalignmenttool
This commit is contained in:
@@ -12,8 +12,8 @@ type ChunkHeader struct {
|
||||
}
|
||||
|
||||
type Chunk struct {
|
||||
Header ChunkHeader
|
||||
ChunkData []byte
|
||||
Header ChunkHeader
|
||||
}
|
||||
|
||||
func DecodeChunk(bytes []byte) (Chunk, error) {
|
||||
|
||||
@@ -11,8 +11,8 @@ type DataPacketChunkData struct {
|
||||
}
|
||||
|
||||
type DataPacketChunk struct {
|
||||
Chunk Chunk
|
||||
Data DataPacketChunkData
|
||||
Chunk Chunk
|
||||
}
|
||||
|
||||
func DecodeDataPacketChunk(bytes []byte) (DataPacketChunk, error) {
|
||||
|
||||
@@ -16,8 +16,8 @@ type DataTrackerChunkData struct {
|
||||
}
|
||||
|
||||
type DataTrackerChunk struct {
|
||||
Chunk Chunk
|
||||
Data DataTrackerChunkData
|
||||
Chunk Chunk
|
||||
}
|
||||
|
||||
func DecodeDataTrackerChunk(bytes []byte) (DataTrackerChunk, error) {
|
||||
|
||||
@@ -12,8 +12,8 @@ type InfoPacketChunkData struct {
|
||||
}
|
||||
|
||||
type InfoPacketChunk struct {
|
||||
Chunk Chunk
|
||||
Data InfoPacketChunkData
|
||||
Chunk Chunk
|
||||
}
|
||||
|
||||
func DecodeInfoPacketChunk(bytes []byte) (InfoPacketChunk, error) {
|
||||
|
||||
@@ -5,8 +5,8 @@ type InfoSystemNameChunkData struct {
|
||||
}
|
||||
|
||||
type InfoSystemNameChunk struct {
|
||||
Chunk Chunk
|
||||
Data InfoSystemNameChunkData
|
||||
Chunk Chunk
|
||||
}
|
||||
|
||||
func DecodeInfoSystemNameChunk(bytes []byte) (InfoSystemNameChunk, error) {
|
||||
|
||||
@@ -10,8 +10,8 @@ type InfoTrackerChunkData struct {
|
||||
}
|
||||
|
||||
type InfoTrackerChunk struct {
|
||||
Chunk Chunk
|
||||
Data InfoTrackerChunkData
|
||||
Chunk Chunk
|
||||
}
|
||||
|
||||
func DecodeInfoTrackerChunk(bytes []byte) (InfoTrackerChunk, error) {
|
||||
|
||||
@@ -5,8 +5,8 @@ type InfoTrackerNameChunkData struct {
|
||||
}
|
||||
|
||||
type InfoTrackerNameChunk struct {
|
||||
Chunk Chunk
|
||||
Data InfoTrackerNameChunkData
|
||||
Chunk Chunk
|
||||
}
|
||||
|
||||
func DecodeInfoTrackerNameChunk(bytes []byte) (InfoTrackerNameChunk, error) {
|
||||
|
||||
Reference in New Issue
Block a user