MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / writeFloat

Method writeFloat

src/Minecraft.World/java/io/DataOutputStream.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void DataOutputStream::writeFloat(float value) {
58 int fake = Float::floatToIntBits(value);
59 this->writeInt(fake);
60 m_size += 4; // already increments by 4 in writeInt
61}
62
63void DataOutputStream::writeChars(const std::wstring& value) {
64 for (unsigned int i = 0; i < value.length(); i++) {

Callers 15

writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80

Calls 1

writeIntMethod · 0.95

Tested by

no test coverage detected