File r37/lisp/csl/jlisp/Attribute_info.java artifact 4b9f25626e part of check-in 3c4d7b69af



public class Attribute_info
{
    static short attributes_count;

    short attribute_name_index;
    int   attribute_length;
    byte  info[];    //should be [attribute_length]

    byte[] dumpBytes()
    {
        byte[][] Bytes = new byte[3][0];
        Bytes[0] = ByteArray.shortToByteArray(attribute_name_index);
        Bytes[1] = ByteArray.intToByteArray(attribute_length);
        Bytes[2] = info;
        return ByteArray.flatBytes(Bytes);
    }

}

// end of Attribute_info.java


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]