createUInt8Array static method

IPropertyValue createUInt8Array(
  1. int valueSize,
  2. Pointer<Uint8> value
)

Implementation

static IPropertyValue createUInt8Array(int valueSize, Pointer<Uint8> value) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IPropertyValueStatics);

  try {
    return IPropertyValueStatics.fromRawPointer(activationFactory)
        .createUInt8Array(valueSize, value);
  } finally {
    free(activationFactory);
  }
}