| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:35e56297-cea1-5a5e-ef6d-eddbc7507c15 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | A836:293912:11F1ADE:1783378:6B02941E |
| html-safe-nonce | 341b6c5e2bf96f6f9e297becde621f371af846f6e76e2df56fd9fddab453b2ab |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODM2OjI5MzkxMjoxMUYxQURFOjE3ODMzNzg6NkIwMjk0MUUiLCJ2aXNpdG9yX2lkIjoiMjkzNTYzODIxMDkwNTc1MzkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e03790d8495eff29bdb9b48413b1c692c2af96f41c066b723f073bd2c097d83e |
| hovercard-subject-tag | repository:324309778 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md |
| twitter:image | https://opengraph.githubassets.com/b72966d700ce9da64a759dcf87f09042831a62447789d069c37c382ccd887241/Fr666/bestJavaer |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b72966d700ce9da64a759dcf87f09042831a62447789d069c37c382ccd887241/Fr666/bestJavaer |
| og:image:alt | 这是一个成为更好的Java程序员的系列教程. Contribute to Fr666/bestJavaer development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/Fr666/bestJavaer git https://github.com/Fr666/bestJavaer.git |
| octolytics-dimension-user_id | 33284087 |
| octolytics-dimension-user_login | Fr666 |
| octolytics-dimension-repository_id | 324309778 |
| octolytics-dimension-repository_nwo | Fr666/bestJavaer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 269198820 |
| octolytics-dimension-repository_parent_nwo | crisxuan/bestJavaer |
| octolytics-dimension-repository_network_root_id | 269198820 |
| octolytics-dimension-repository_network_root_nwo | crisxuan/bestJavaer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FFr666%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-io.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FFr666%2FbestJavaer%2Fblob%2Fmaster%2Fjava-basic%2Fjava-io.md |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=Fr666%2FbestJavaer |
| Reload | https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md |
| Reload | https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md |
| Reload | https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md |
| Fr666 | https://github.com/Fr666 |
| bestJavaer | https://github.com/Fr666/bestJavaer |
| Code | https://github.com/Fr666/bestJavaer |
| Pull requests | https://github.com/Fr666/bestJavaer/pulls |
| Actions | https://github.com/Fr666/bestJavaer/actions |
| Projects | https://github.com/Fr666/bestJavaer/projects |
| Security and quality | https://github.com/Fr666/bestJavaer/security |
| Insights | https://github.com/Fr666/bestJavaer/pulse |
| https://github.com/Fr666/bestJavaer |
| bestJavaer | https://github.com/Fr666/bestJavaer/tree/master |
| java-basic | https://github.com/Fr666/bestJavaer/tree/master/java-basic |
| History | https://github.com/Fr666/bestJavaer/commits/master/java-basic/java-io.md |
| https://github.com/Fr666/bestJavaer/commits/master/java-basic/java-io.md |
| bestJavaer | https://github.com/Fr666/bestJavaer/tree/master |
| java-basic | https://github.com/Fr666/bestJavaer/tree/master/java-basic |
| Raw | https://github.com/Fr666/bestJavaer/raw/refs/heads/master/java-basic/java-io.md |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#java-io-体系 |
| https://camo.githubusercontent.com/d94ae2949ed80696749776db67811362012ffc11ce35eccd87f77f0a08a954e0/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f73616461736461736473613331323337383132363339312e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#传统的-bio |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#bio-nio-和-aio-的区别 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#什么是流 |
| https://camo.githubusercontent.com/d5e44811794964b03551ed6150ad8cc20ef1226932fe483200f8b907ff1bc301/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f2545362539432541412545352539312542442545352539302538442545372542422539382545352539422542452d313539383233353633363038352e6a7067 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#流的分类 |
| https://camo.githubusercontent.com/e1d4c4f1f5651bd6808892e4cd2e352825a1a8ed036942ef7ebad7ea3fe52e27/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f312e6a7067 |
| https://camo.githubusercontent.com/ebb5bf55f999ff38e7f21cba400a2aa40f79ef31dd3eaae1f7a2f4e73db3c28d/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832333039313733383235312e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#节点流和处理流 |
| https://camo.githubusercontent.com/9bc746683da16df8012f0662985df9ee32061ebea5c50ff02189671d3378054c/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f312d313539383331373935313534392e6a7067 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#java-io-的核心类-file |
| https://camo.githubusercontent.com/e2de433def64817b23d96d80f963d3d6fcb0e4e42275ac7f2f3816cfa892d576/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832353038303032303235332e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#java-io-流对象 |
| https://camo.githubusercontent.com/ebb5bf55f999ff38e7f21cba400a2aa40f79ef31dd3eaae1f7a2f4e73db3c28d/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832333039313733383235312e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#字节流对象 |
| https://camo.githubusercontent.com/c2749396ce2aeceb4e9616b7034a478b3c095363456d6e8906c013d6d17a957c/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832353038343230343032362e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#inputstream |
| https://camo.githubusercontent.com/7e2cef2eac8965444a5655e486ccf0327efe736aee5ee5122fea20c47975a7c6/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832373038323434353339352e706e67 |
| https://camo.githubusercontent.com/b7d746b3bb02deb7beb376c59063aef9ad04f9eb2c212d0793eaeef6511997f8/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f627974656172726179696e70757473747265616d312e676966 |
| https://camo.githubusercontent.com/ace62fef12e65a2fda8e179a00876c3c156bd0d679c19dbe12e2b347f66aa314/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f707573684261636b496e70757453747265616d2e676966 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#outputstream |
| https://camo.githubusercontent.com/3b072c898dc37e696f5980c0f6dcfa97759654e87963c99bd9919b116dd10ff3/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832373039303130313638372e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#字符流对象 |
| https://camo.githubusercontent.com/b9120b870f015690b1a3247c95f4a1ef9e0605d5dcd0722028cad6cad7e1cf50/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832373039343734303434342e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#reader |
| https://camo.githubusercontent.com/e4ceb404b595ab02c456d9b867fc3c7e140ceba9df720d3f6da870e5bb0d39d4/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303832373039353931313730322e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#writer |
| https://camo.githubusercontent.com/53df77f02e95148590fa956fef0d87d3f540e5f4d79dcc543e471185f5f9b330/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d323032303038323731303438333735323131312e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#字节流与字符流的转换 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#新潮的-nio |
| https://camo.githubusercontent.com/371b269b52cf0777f9a0aed09329a292ec6c03e03fc9f1626396cffd590f5782/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f61736471776571776571652e6a7067 |
| https://camo.githubusercontent.com/842f1152a8518450d45e5046b037ea1f03503305b588b046cb267f0a82e0d2b8/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930323039303435322e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#缓冲区buffer |
| https://camo.githubusercontent.com/f6b14a8149c71c56be29f1bf46f2aa912d2cccd193668b00b025cd2ac35f1040/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930363130343831312e706e67 |
| https://camo.githubusercontent.com/cb885e9f184995276dd311fcd0ae90b142fac6335909df8af60d5cb4d3f72eea/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930323130343630372e706e67 |
| https://camo.githubusercontent.com/f24469b8d11124124cbb3331f53c38b554c4e2eaead34e5246d133bd49b2ffad/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930323130343733302e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#通道channel |
| https://camo.githubusercontent.com/c3a531dd7e30b80cce8edcccff014b6a8819abbe2e86efc5b06676dfd81dd4a2/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930363130343834372e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#示例文件拷贝案例 |
| https://camo.githubusercontent.com/04bfa8eea88a5d20afcbc9c8f48e81c0f0d23826dce9d9ee5a75bef4935251c8/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f6d7950686f746f2e706e67 |
| https://camo.githubusercontent.com/7d57552673dde31e71a8762e5c7dba8d691e6475218c8457b251c5e3077b4bc2/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930343130323834352e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#bio-和-nio-拷贝文件的区别 |
| https://camo.githubusercontent.com/d8bdd1c8c1ad917fa629dd1d6596667b3b43ef11021b3d6dca42b7f970bd1775/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930343130343132332e706e67 |
| https://camo.githubusercontent.com/9e8aafae2bb7335f840ba5e5a57c247252cbd1c0bf34fa3f5f2b22a88917f74a/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930343130343832332e706e67 |
| https://camo.githubusercontent.com/44ea99c52d8ebffd2bac35d5c99e1dc342910a26ec7408abcd7b0e9f71946615/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930343130353235332e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#操作系统的零拷贝 |
| https://camo.githubusercontent.com/86da533cd8c3b4dab3f3fa13070848ea16d150db6c337262efc792d5e82092d2/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f696d6167652d32303230303930343132323133323937382e706e67 |
| https://camo.githubusercontent.com/307ee829ff1b23147d2b833ff0c417907b64da311c3a6ceb351a20762de6abed/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930343132333832322e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#选择器selectors |
| https://camo.githubusercontent.com/bdd3852a73e1269f021c1b247f837af3ea8e512b5fba4bb8fafd033d610acbfa/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930363130353030322e706e67 |
| https://camo.githubusercontent.com/1d3bbb5cdaeeeaa621828efafea182ed36e5c399084d87798ed43a9ab1aaa32c/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930343138353430372e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#选择键selectionkey |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#示例简易的客户端服务器通信 |
| https://camo.githubusercontent.com/87d2be29683c8c58b6718b6feb3a104ab0ec17041bb1d716372bc72ef87e2da7/687474703a2f2f63646e2e736d616c6c70696e656170706c652e746f702f32303230303930363039333431382e706e67 |
| https://github.com/Fr666/bestJavaer/blob/master/java-basic/java-io.md#总结 |
| 浅谈 Linux下的零拷贝机制 | https://www.jianshu.com/p/e76e3580e356 |
| Java NIO学习笔记四(零拷贝详解) | https://blog.csdn.net/u013096088/article/details/79122671 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |