public ByteBuffer getSerializedBuffer() {
        return buffer != null ? buffer.getBuf().getByteBuffer() : null;
    }
Returns the internal buffer to deserialize from, may be null.

@return The buffer.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/GetDocumentReply.java