gradle-josm-plugin / org.openstreetmap.josm.gradle.plugin.i18n.io / FourBytes / <init>

<init>

FourBytes(big: Byte, bigish: Byte, lowish: Byte, low: Byte, bigEndian: Boolean)

Parameters

big - most significant byte

bigish - secondmost significant byte

lowish - thirdmost significant byte

low - least significant byte

bigEndian - true if the bytes should come in the order from most significant first to least significant last, false if the order should be exactly in reverse

FourBytes(uintValue: UInt, bigEndian: Boolean)

Initialize a four byte sequence with a 32 bit unsigned integer, either as big-endian or little-endian.

Parameters

uintValue - the 32 bit unsigned integer value

bigEndian - if true, the number is encoded in big-endian byte order, otherwise in little-endian

FourBytes(a: Byte, b: Byte, c: Byte, d: Byte)

Container class for four bytes, that can then be converted to a Long value, either as big endian or little endian.