💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` ByteArrayOutputStream out = new ByteArrayOutputStream(); HessianOutput output = new HessianOutput(out); output.writeObject(new User("Jim", 20)); byte[] bytes = out.toByteArray(); System.err.println(bytes); ByteArrayInputStream in = new ByteArrayInputStream(bytes); HessianInput input= new HessianInput(in); User u = (User) input.readObject(); System.err.println(u); ```