@Test public void testFloatTypeNode() throws IOException { float value = 5.432f; assertEquals(Float.toString(value), new FloatTypeNode(testBinaryReaderBuilder.putDWord(Float.floatToIntBits(value)).build(), chunkHeader, parent, -1).getValue()); }
public FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedInteger unsignedInteger = binaryReader.readDWord(); value = Float.intBitsToFloat(unsignedInteger.intValue()); }
FloatTypeNode extends VariantTypeNode { public FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedInteger unsignedInteger = binaryReader.readDWord(); value = Float.intBitsToFloat(unsignedInteger.intValue()); } }
FloatTypeNode extends VariantTypeNode { public FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedInteger unsignedInteger = binaryReader.readDWord(); value = Float.intBitsToFloat(unsignedInteger.intValue()); } FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); }
FloatTypeNode extends VariantTypeNode { public FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedInteger unsignedInteger = binaryReader.readDWord(); value = Float.intBitsToFloat(unsignedInteger.intValue()); } FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue(); }
FloatTypeNode extends VariantTypeNode { public FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); UnsignedInteger unsignedInteger = binaryReader.readDWord(); value = Float.intBitsToFloat(unsignedInteger.intValue()); } FloatTypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue();  }