Skip to content

Commit

Permalink
More coverage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samitAtsyna committed Jun 29, 2024
1 parent f484ab8 commit 2ae8f17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application_defined.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func (a *ApplicationDefined) Unmarshal(rawPacket []byte) error {
return nil
}

// MarshalSize returns the size of the packet once marshaled
func (a *ApplicationDefined) MarshalSize() int {
dataLength := len(a.Data)
// Calculate the padding size to be added to make the packet length a multiple of 4 bytes.
Expand Down

0 comments on commit 2ae8f17

Please sign in to comment.