jvmMain.kotlinx.serialization.protobuf.internal.Bytes.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlinx-serialization-protobuf-jvm Show documentation
Show all versions of kotlinx-serialization-protobuf-jvm Show documentation
Kotlin multiplatform serialization runtime library
/*
* Copyright 2017-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization.protobuf.internal
internal actual fun Int.reverseBytes(): Int = Integer.reverseBytes(this)
internal actual fun Long.reverseBytes(): Long = java.lang.Long.reverseBytes(this)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy