(udata []byte, typ Type, data []byte)
| 53 | ) |
| 54 | |
| 55 | func Append(udata []byte, typ Type, data []byte) []byte { |
| 56 | udata = append(udata, byte(typ), byte(len(data))) |
| 57 | udata = append(udata, data...) |
| 58 | |
| 59 | return udata |
| 60 | } |
| 61 | |
| 62 | func Get(udata []byte, styp Type) []byte { |
| 63 | for { |
no outgoing calls
no test coverage detected
searching dependent graphs…