in serialization/src/main/java/com/twitter/serial/stream/bytebuffer/ByteBufferSerializerInput.java [83:93]
public float readFloat() throws IOException {
try {
final byte subtype = readHeader(SerializerDefs.TYPE_FLOAT);
if (subtype == ByteBufferSerializerDefs.SUBTYPE_DEFAULT) {
return 0f;
}
return mByteBuffer.getFloat();
} catch (BufferUnderflowException ignore) {
throw new EOFException();
}
}