@Override protected DocumentReply doDecode(DocumentDeserializer buf) { UpdateDocumentReply rep = new UpdateDocumentReply(); byte flag = buf.getByte(null); rep.setWasFound(flag != 0); rep.setHighestModificationTimestamp(buf.getLong(null)); return rep; }