Clean packing. Removing packer layer.
[ric-plt/submgr.git] / e2ap / pkg / e2ap / msg_e2ap.go
index eecf8b8..7aaad0c 100644 (file)
@@ -172,6 +172,25 @@ const (
        E2AP_ENBIDlongMacroBits21 uint8 = 21
 )
 
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type PackedData struct {
+       Buf []byte
+}
+
+//-----------------------------------------------------------------------------
+//
+//-----------------------------------------------------------------------------
+type MessageInfo struct {
+       MsgType uint64
+       MsgId   uint64
+}
+
+func (msgInfo *MessageInfo) String() string {
+       return "msginfo(" + strconv.FormatUint((uint64)(msgInfo.MsgType), 10) + string(":") + strconv.FormatUint((uint64)(msgInfo.MsgId), 10) + ")"
+}
+
 //-----------------------------------------------------------------------------
 //
 //-----------------------------------------------------------------------------