---
title: "读取流最快方式"
author: "fonter"
date: "2009-07-09T11:42:43Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2009-07-26T22:04:56Z"
id: 422412
url: "https://fonter.iteye.com/blog/422412"
---

读取流最快方式，当你知道流的长度时，如流长度是maxLength，那最快方式是

len = in.read(buf,0,maxLength);

 

keyRepeated和keyPressed处理 [http://fonter.iteye.com/blog/433408](http://fonter.iteye.com/blog/433408)