@Test public void testHex32TypeNode() throws IOException { UnsignedInteger value = UnsignedInteger.valueOf(1234); String hex = value.toString(16); assertEquals(hex, new Hex32TypeNode(testBinaryReaderBuilder.putDWord(value).build(), chunkHeader, parent, -1).getValue().substring(2)); }
public Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); value = "0x" + binaryReader.readDWord().toString(16); }
Hex32TypeNode extends VariantTypeNode { public Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); value = "0x" + binaryReader.readDWord().toString(16); } }
Hex32TypeNode extends VariantTypeNode { public Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); value = "0x" + binaryReader.readDWord().toString(16); } Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); }
Hex32TypeNode extends VariantTypeNode { public Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); value = "0x" + binaryReader.readDWord().toString(16); } Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue(); }
Hex32TypeNode extends VariantTypeNode { public Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length) throws IOException { super(binaryReader, chunkHeader, parent, length); value = "0x" + binaryReader.readDWord().toString(16); } Hex32TypeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent, int length); @Override String getValue();  }