function setBinaryProperty(binaryProperty, index, value) {
  const typedArray = binaryProperty.typedArray;
  const componentCount = binaryProperty.componentCount;
  if (componentCount === 1) {
    typedArray[index] = value;
  } else {
    binaryProperty.type.pack(value, typedArray, index * componentCount);
  }
}
Sets the value of the property with the given ID. Only properties of the
instance may be set; parent properties may not be set.

@param {number} batchId The batchId of the feature
@param {string} propertyId The case-sensitive ID of the property.
@param {*} value The value of the property that will be copied.
@returns {boolean} <code>true</code> if the property was set, <code>false</code> otherwise.

@exception {DeveloperError} when setting an inherited property
@private