write File Facade
fun writeFileFacade(kmPackage: KmPackage, metadataVersion: IntArray = COMPATIBLE_METADATA_VERSION, extraInt: Int = 0): Metadata
Writes kmPackage contents as the file facade metadata.
Parameters
metadata Version
metadata version to be written to the metadata (see Metadata.metadataVersion), KotlinClassMetadata.COMPATIBLE_METADATA_VERSION by default. Cannot be less (lexicographically) than [1, 4]
extra Int
the value of the class-level flags to be written to the metadata (see Metadata.extraInt), 0 by default
Throws
if kmPackage is not correct and cannot be written or if metadataVersion is not supported for writing.