readTwosComplementInt

fun Source.readTwosComplementInt(nBytes: Int): Int

Consumes exactly nBytes from this source and interprets it as a signed Int

Throws

if too much or too little data is present