public byte[] encode() {
    return toProto().toByteArray();
  }
Creates a vector tile protobuf with all features in this tile and serializes it as a byte array.
<p>
Does not compress the result.
planetiler-core/src/main/java/com/onthegomap/planetiler/VectorTile.java