Details
-
Task
-
Resolution: Fixed
-
Major
-
Security Level: Public
-
None
Description
I am using MessagePack to serialize objects. I would like to override
SerializingTranscoder.decode to instead of returning a string at the end of
decode to just return the byte array. Unfortunately to do that, I need to
have the constants visible in the overriden decode method:
public class ByteTranscoder extends SerializingTranscoder {
@Override
public Object decode(CachedData d) {
byte[] data=d.getData();
Object rv=null;
if((d.getFlags() & COMPRESSED) != 0)
int flags=d.getFlags() & SPECIAL_MASK;
Read more https://www.couchbase.org/forums/node/1001273
–
This is an automatic message from Couchbase Forums
To manage your subscriptions, browse to
https://www.couchbase.org/forums/user/1000697/notifications
You can unsubscribe at
https://www.couchbase.org/forums/notifications/unsubscribe/sid/11?signature=2cd5666dcfbd5c6bddb823939d508cd2
[Created via e-mail received from: "community_admin@couchbase.com" <community_admin@couchbase.com>]