getOffset

abstract fun getOffset(offset: Int, offSize: Int): Int

Offsets are 1 to 4 bytes in length, depending on the offSize param.

Return

an offset from the buffer