eclipse-uprotocol / up-java

uProtocol Language Specific Library for Java
Apache License 2.0
9 stars 14 forks source link

Overload UPayload.unpack with UMessage and Class #169

Closed mishap4 closed 4 months ago

mishap4 commented 4 months ago

The call below looks very long, we can overload it to take UMessage as an argument. UPayload.unpack(message.getPayload(), message.getAttributes().getPayloadFormat(), Some.class)