MarshallingDescriptor class sealed
Describes how a parameter or field is marshaled between managed and
unmanaged code, as specified in ECMA-335 §II.23.4
.
Use MarshallingDescriptor.array for composite array types, or MarshallingDescriptor.simple for scalar/native types.
- Implementers
Constructors
- MarshallingDescriptor.array({NativeType elementType, int? sizeParameterIndex, int? numElements})
-
Creates a marshalling descriptor for a native array (NATIVE_TYPE_ARRAY).
constfactory
- MarshallingDescriptor.simple(NativeType nativeType)
-
Creates a marshalling descriptor for a scalar or non-array native type.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nativeType → NativeType
-
The top-level native type encoding defined for this marshaling rule.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited