Skip to content
Snippets Groups Projects

Deserialize Curator Record

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Hao Wu
    Edited
    RecordIO.java 286 B
    public static Record deserializeRecordFromBytes(byte[] bytes) throws TException {
            TDeserializer deserializer = new TDeserializer(
                    new TBinaryProtocol.Factory());
            Record r = new Record();
            deserializer.deserialize(r, bytes);
            return r;
        }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment