gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.i18n.io / FourBytes / getUIntValue

getUIntValue

@ExperimentalUnsignedTypes fun getUIntValue(bigEndian: Boolean): UInt

Convert the four byte values to one unsigned Int value.

Parameters

bigEndian - determines byte order. If true, byte order is big-endian. Otherwise the byte order is little-endian.

Return
the kotlin.UInt value (unsigned 32 bit) represented by the four bytes a, b, c and d, respecting the given byte order.