binary-streams / loggersoft.kotlin.streams / StreamOutput / writeInt

writeInt

abstract fun writeInt(value: Long, bytes: Int, byteOrder: ByteOrder = defaultByteOrder): Unit

Writes value with size in bytes with specified byteOrder into the stream. The bytes should be in 1..8 range.

open fun writeInt(value: Int, byteOrder: ByteOrder = defaultByteOrder): Unit

Writes Int with specified byteOrder into the stream.