public static void bufferRecv(LinkedList buffer, int length){
		
		
		buffer.add("1234".getBytes());
		buffer.add("23".getBytes());
		
		Iterator ite =buffer.iterator();
		//int MAX = 15 * 10 ; 
		//StringBuffer result = new StringBuffer();
	    byte [] result = new byte[length];
		try{
			int offset = 0;
		while(ite.hasNext()){
			
			byte [] element = (byte[]) ite.next();
			int index = 0;
			while(index < element.length){
				result [index+offset]=element[index];
				index ++;
			}
			offset += element.length;
		}
			System.out.println("element "+new String(result));
	        
	        
		}
		
		// Charset charset = Charset.defaultCharset();  
	      //  CharsetDecoder decoder = charset.newDecoder();  
	      //  CharBuffer charBuffer = result.asCharBuffer();
	
		catch(Exception e){
			e.printStackTrace();
		}
		//System.out.println("charBuffer "+ new String(result.array()));
		//OutputStream stream = new FileOutputStream("c:\\\\output-text.txt");
		//WritableByteChannel channel = Channels.newChannel(stream);

		  // channel.write(result);
		
		 return ;
		
	}