摘要: ByteArrayOutputStream用法 字节数组流: ByteArrayOutputStream: 可以捕获内存缓冲区的数据,转换成字节数组。 ByteArrayoutputStream bout=new ByteArrayOutputStream(); bout.write(int a); 阅读全文
posted @ 2017-08-03 17:33 学无止境、 阅读(1432) 评论(0) 推荐(0)
摘要: TypeToken 是google提供的一个解析Json数据的类库中一个类 2016-03-14 22:04 Type listType = new TypeToken<LinkedList<User>>(){}.getType(); Type是java里的reflect包的Type ,TypeTo 阅读全文
posted @ 2017-08-03 17:23 学无止境、 阅读(1025) 评论(0) 推荐(0)