b919a12274
- Write now returns result (Metadata or ByteArray) directly without re-wrapping it; - annotationData/bytes is private to avoid unsoundness if external client corrupts it; - .toXxx() do not throw exceptions anymore and deprecated. Exceptions are thrown only from read/write; - Instead of toXxx(), properties like .kmClass should be used instead. They're initialized eagerly and return a view without copying. - KotlinClassMetadata.Unknown is now a data object, as no useful information is exposed #KT-59365 Fixed