code: public static String[] readStrings(ChannelBuffer buffer, int numOfStrings,
  			Charset charset)
  	{
  		String[] strings = new String[numOfStrings]; 
  		for(int i=0;i<numOfStrings;i++)
  		{
  			String theStr = readString(buffer,charset);
  			if(null == theStr) break;
  			strings[i] = theStr;
  		}
  		return strings;
  	}
docs: This method will read multiple strings of the buffer and return them as a
  string array. It internally uses the readString(ChannelBuffer buffer) to
  accomplish this task. The strings are read back in the order they are
  written.
  
  @param buffer
  The buffer containing the strings, with each string being a
  strlength-strbytes combination.
  @param numOfStrings
  The number of strings to be read. Should not be negative or 0
  @param charset
  The Charset say 'UTF-8' in which the decoding needs to be
  done.
  
  @return the strings read from the buffer as an array.