JavaDecompiler/JavaConstantInfo.cs
/// <summary>
/// Creates and reads a java constant info
/// </summary>
/// <param name="reader"></param>
/// <returns></returns>
Creates and reads a java constant info
Creates and reads a java constant info
public static JavaConstantInfo CreateAndRead(BinaryReader reader)
        {
            var type = (ConstantInfoType)reader.ReadByte();
            var constant = Create(type);
            constant.Read(reader);
            return constant;
        }
public static JavaConstantInfo CreateAndRead ( BinaryReader reader ) { var type = ( ConstantInfoType ) reader . ReadByte ( ) ; var constant = Create ( type ) ; constant . Read ( reader ) ; return constant ; }
Creates and reads a java constant info
Creates and reads a java constant info
// Reads the type
None
reader
BinaryReader
None