public static Boolean readFile(ByteBuffer buffer, FileTransfer fileReceiver){
		ByteBuffer readBuffer = buffer.asReadOnlyBuffer();
		buffer.limit(50);// 读取50个字节，解析获取内容的长度，内容长度最大为4个FFFF（4个字节），再加上2个字节\r\n
		String msg = CoderUtils.decode(buffer);
		
		if(!MyStringUtil.isBlank(msg)){// 上传文件的请求头	
			if(fileReceiver.isReadHead()){
				fileReceiver.writeBody(readBuffer, 0, fileReceiver.getSizeWithHead());// 读取文件内容
				fileReceiver.setReadHead(false);
				fileReceiver.setSizeWithHead(0);
			}else{
				String packageHead = msg.split((HttpConstants.RetentionWord.CRLF_STR))[0];				
				try{
					Integer length = Integer.parseInt(packageHead, 16);
					Integer btyeLength = packageHead.getBytes().length + 2;// 加上2个回车换行符
					
					fileReceiver.writeBody(readBuffer, btyeLength, length);// 读取文件内容					
				}catch(NumberFormatException nfe){// 读取不带包头信息的文件
					fileReceiver.writeBody(readBuffer, 0);// 读取文件内容
				}

			}
		}
		
		return null;
	}