in crumb-compiler/src/main/kotlin/com/uber/crumb/internal/wire/ProtoReader.kt [367:376]
fun readFixed64(): Long {
if (state != STATE_FIXED64 && state != STATE_LENGTH_DELIMITED) {
throw ProtocolException("Expected FIXED64 or LENGTH_DELIMITED but was $state")
}
source.require(8) // Throws EOFException if insufficient bytes are available.
pos += 8
val result = source.readLongLe()
afterPackableScalar(STATE_FIXED64)
return result
}