public void read() throws IOException
	{
		byte[] byts=new byte[4];
		in.read(byts);
		int size=ByteBuffer.wrap(byts).getInt();
		
		buffer=ByteBuffer.allocate(size);
		byte[] bytes=new byte[size];
		in.read(bytes);
		buffer.put(bytes);
		buffer.position(0);
	}