@Override
  public void serialize(OutputStream stream) throws IOException {
    ReadWriteIOUtils.write(this.getName(), stream);
    ReadWriteIOUtils.write(getDataType().serialize(), stream);
    ReadWriteIOUtils.write(getEncoding().serialize(), stream);
    ReadWriteIOUtils.write(getCompressionType().serialize(), stream);
  }
Serialization: nodeName[String] dataType[byte] encoding[byte] compressor[byte]
iotdb-client/session/src/main/java/org/apache/iotdb/session/template/MeasurementNode.java