public int getLength() {
    if (this.values == null) {
      return -1;
    }
    return this.values.length;
  }
Get length of values. Returns -1 if values is null.

@return length
iotdb-api/pipe-api/src/main/java/org/apache/iotdb/pipe/api/type/Binary.java