in crumb-compiler/src/main/kotlin/com/uber/crumb/internal/wire/ProtoReader.kt [354:363]
fun readFixed32(): Int {
if (state != STATE_FIXED32 && state != STATE_LENGTH_DELIMITED) {
throw ProtocolException("Expected FIXED32 or LENGTH_DELIMITED but was $state")
}
source.require(4) // Throws EOFException if insufficient bytes are available.
pos += 4
val result = source.readIntLe()
afterPackableScalar(STATE_FIXED32)
return result
}