Implement size to pdu header
This commit is contained in:
@@ -63,3 +63,6 @@ func (p *PDU_HEADER) Decode(data []uint8) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (p *PDU_HEADER) Size() uint32 {
|
||||
return 16
|
||||
}
|
||||
Reference in New Issue
Block a user