registerOpaqueType<T extends Opaque> function
Must be called with each type that extends Opaque before attemtping to use that type.
Implementation
@extra
void registerOpaqueType<T extends Opaque>() {
sizeMap[T] = sizeOf<Opaque>();
registerNativeMarshallerOpaque<T>();
}