readWkbCollection(reader, expectedTypeId) {
    const num = this.readUint32();

    const items = [];
    for (let i = 0; i < num; i++) {
      const result = reader.call(this, expectedTypeId);
      if (result) {
        items.push(result);
      }
    }

    return items;
  }
@param {Function} reader reader function for each item
@param {number} [expectedTypeId] Expected WKB Type ID
@return {any} values read