Uploaded image for project: 'Forum'
  1. Forum
  2. FORUM-561

New: Can you make static finals in SerializingTranscoder public please?

    XMLWordPrintable

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)

      { data=decompress(d.getData()); }

      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>]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            perry Perry Krug
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty