Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Feb 28, 2025
1 parent ac2d26f commit 3a1789b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions serialization/serialization.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ func (f *Format) String() (text string) {
}

func (f *Format) stringParts() (parts []string) {

parts = append(parts, fmt.Sprintf("Format (Size: %d, LastNonIgnorableField: %d)",
f.Size, f.LastNonIgnorableField))

Expand Down Expand Up @@ -225,7 +224,7 @@ func Unmarshal(data []byte, v interface{}) error {
m.Fields[i].Skipped = true
continue
}
m.Fields[i].ID = uint8(data[pos] >> 1)
m.Fields[i].ID = data[pos] >> 1
pos++
var n uint64
var err error
Expand Down

0 comments on commit 3a1789b

Please sign in to comment.