bigloo.foreign.rgc_buffer_subsymbol C# (CSharp) Method

rgc_buffer_subsymbol() public static method

public static rgc_buffer_subsymbol ( input_port p, int o, int e ) : symbol
p input_port
o int
e int
return symbol
        public static symbol rgc_buffer_subsymbol( input_port p, int o, int e )
        {
            int start = p.matchstart + o;
            int stop = p.matchstop + e;
            int n = stop - start;
            byte[] name = new byte[n];

            for ( int i= 0 ; i < n ; ++i, ++start )
               name[i]= (byte)(p.buffer[start] & 0xFF);

            return symbol.make_symbol( name );
        }
foreign