| 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:13fc76e6-f06e-6194-ae8f-51a645fbbbcc |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | A5D2:842EC:201B301:2AC2DBC:6B018008 |
| html-safe-nonce | 6c04c3fbc298420c5229a2afe076ac123d922c59ba05640dc54d52e015f62043 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUQyOjg0MkVDOjIwMUIzMDE6MkFDMkRCQzo2QjAxODAwOCIsInZpc2l0b3JfaWQiOiIzNTcwNDk5NjIzMTI0NTY2MDI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b0abda5487256a1e8eb3b9059669bfbb9bc1e16de508834c456bd0b079235be7 |
| hovercard-subject-tag | repository:488597259 |
| 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/changsenxia/LeetCode_java/blob/master/notes/Java IO.md |
| twitter:image | https://opengraph.githubassets.com/299920fbb244eb812858bea2ee15814a310ab2729461a1a6d484a66dd80024bc/changsenxia/LeetCode_java |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/299920fbb244eb812858bea2ee15814a310ab2729461a1a6d484a66dd80024bc/changsenxia/LeetCode_java |
| og:image:alt | :books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计. Contribute to changsenxia/LeetCode_java 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 | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/changsenxia/LeetCode_java git https://github.com/changsenxia/LeetCode_java.git |
| octolytics-dimension-user_id | 64173340 |
| octolytics-dimension-user_login | changsenxia |
| octolytics-dimension-repository_id | 488597259 |
| octolytics-dimension-repository_nwo | changsenxia/LeetCode_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 121395510 |
| octolytics-dimension-repository_parent_nwo | CyC2018/CS-Notes |
| octolytics-dimension-repository_network_root_id | 121395510 |
| octolytics-dimension-repository_network_root_nwo | CyC2018/CS-Notes |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fchangsenxia%2FLeetCode_java%2Fblob%2Fmaster%2Fnotes%2FJava%2520IO.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%2Fchangsenxia%2FLeetCode_java%2Fblob%2Fmaster%2Fnotes%2FJava%2520IO.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=changsenxia%2FLeetCode_java |
| Reload | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md |
| Reload | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md |
| Reload | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md |
| changsenxia | https://github.com/changsenxia |
| LeetCode_java | https://github.com/changsenxia/LeetCode_java |
| Code | https://github.com/changsenxia/LeetCode_java |
| Pull requests | https://github.com/changsenxia/LeetCode_java/pulls |
| Actions | https://github.com/changsenxia/LeetCode_java/actions |
| Projects | https://github.com/changsenxia/LeetCode_java/projects |
| Security and quality | https://github.com/changsenxia/LeetCode_java/security |
| Insights | https://github.com/changsenxia/LeetCode_java/pulse |
| https://github.com/changsenxia/LeetCode_java |
| LeetCode_java | https://github.com/changsenxia/LeetCode_java/tree/master |
| notes | https://github.com/changsenxia/LeetCode_java/tree/master/notes |
| History | https://github.com/changsenxia/LeetCode_java/commits/master/notes/Java%20IO.md |
| https://github.com/changsenxia/LeetCode_java/commits/master/notes/Java%20IO.md |
| LeetCode_java | https://github.com/changsenxia/LeetCode_java/tree/master |
| notes | https://github.com/changsenxia/LeetCode_java/tree/master/notes |
| Raw | https://github.com/changsenxia/LeetCode_java/raw/refs/heads/master/notes/Java%20IO.md |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#java-io |
| Java IO | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#java-io |
| 一、概览 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E4%B8%80%E6%A6%82%E8%A7%88 |
| 二、磁盘操作 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E4%BA%8C%E7%A3%81%E7%9B%98%E6%93%8D%E4%BD%9C |
| 三、字节操作 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E4%B8%89%E5%AD%97%E8%8A%82%E6%93%8D%E4%BD%9C |
| 实现文件复制 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%AE%9E%E7%8E%B0%E6%96%87%E4%BB%B6%E5%A4%8D%E5%88%B6 |
| 装饰者模式 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E8%A3%85%E9%A5%B0%E8%80%85%E6%A8%A1%E5%BC%8F |
| 四、字符操作 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%9B%9B%E5%AD%97%E7%AC%A6%E6%93%8D%E4%BD%9C |
| 编码与解码 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E7%BC%96%E7%A0%81%E4%B8%8E%E8%A7%A3%E7%A0%81 |
| String 的编码方式 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#string-%E7%9A%84%E7%BC%96%E7%A0%81%E6%96%B9%E5%BC%8F |
| Reader 与 Writer | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#reader-%E4%B8%8E-writer |
| 实现逐行输出文本文件的内容 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%AE%9E%E7%8E%B0%E9%80%90%E8%A1%8C%E8%BE%93%E5%87%BA%E6%96%87%E6%9C%AC%E6%96%87%E4%BB%B6%E7%9A%84%E5%86%85%E5%AE%B9 |
| 五、对象操作 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E4%BA%94%E5%AF%B9%E8%B1%A1%E6%93%8D%E4%BD%9C |
| 序列化 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%BA%8F%E5%88%97%E5%8C%96 |
| Serializable | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#serializable |
| transient | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#transient |
| 六、网络操作 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%85%AD%E7%BD%91%E7%BB%9C%E6%93%8D%E4%BD%9C |
| InetAddress | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#inetaddress |
| URL | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#url |
| Sockets | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#sockets |
| Datagram | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#datagram |
| 七、NIO | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E4%B8%83nio |
| 流与块 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E6%B5%81%E4%B8%8E%E5%9D%97 |
| 通道与缓冲区 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E9%80%9A%E9%81%93%E4%B8%8E%E7%BC%93%E5%86%B2%E5%8C%BA |
| 缓冲区状态变量 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E7%BC%93%E5%86%B2%E5%8C%BA%E7%8A%B6%E6%80%81%E5%8F%98%E9%87%8F |
| 文件 NIO 实例 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E6%96%87%E4%BB%B6-nio-%E5%AE%9E%E4%BE%8B |
| 选择器 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E9%80%89%E6%8B%A9%E5%99%A8 |
| 套接字 NIO 实例 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%A5%97%E6%8E%A5%E5%AD%97-nio-%E5%AE%9E%E4%BE%8B |
| 内存映射文件 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%86%85%E5%AD%98%E6%98%A0%E5%B0%84%E6%96%87%E4%BB%B6 |
| 对比 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%AF%B9%E6%AF%94 |
| 八、参考资料 | https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#%E5%85%AB%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#一概览 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#二磁盘操作 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#三字节操作 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#实现文件复制 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#装饰者模式 |
| https://camo.githubusercontent.com/26a07efe36a7a525b18499905229188f5f38fecd1284d9e10258ffe55499e3ad/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f39373039363934622d646230352d346363652d386432662d3163386230396634643932312e706e67 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#四字符操作 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#编码与解码 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#string-的编码方式 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#reader-与-writer |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#实现逐行输出文本文件的内容 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#五对象操作 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#序列化 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#serializable |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#transient |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#六网络操作 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#inetaddress |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#url |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#sockets |
| https://camo.githubusercontent.com/82f9de2b90664b4d8ae491703127aa7dc61982237ce2394d8ef37c6ef0f9809c/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f31653661666663342d313865352d343539362d393665662d6662383463363362663838612e706e67 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#datagram |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#七nio |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#流与块 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#通道与缓冲区 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#1-通道 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#2-缓冲区 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#缓冲区状态变量 |
| https://camo.githubusercontent.com/a415d75a8d1d8f6ec7c026fea252c51f61d3795f360d24c365b6761ccffd8c45/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f31626561333938662d313761372d346636372d613930622d3965326432343365616139612e706e67 |
| https://camo.githubusercontent.com/8b99ee34b71af88f01162e7a9c0b070ef504b3c021dbaac10788ae19ea23c7ec/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f38303830346635322d383831352d343039362d623530362d3438656566336565643563362e706e67 |
| https://camo.githubusercontent.com/f5081809b518111b42178518dfef2d1d3f67eae4ea7ac6bbff2be15f1da77685/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f39353265303662642d356136352d346361622d383265342d6464313533363436326633382e706e67 |
| https://camo.githubusercontent.com/a9459f65d45ae0d1cdeda9aa2daaf30ef97f8b8e0e14018a5e7469bbdf021fb2/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f62356264636265322d623935382d346165662d393135312d3661643936336362323862342e706e67 |
| https://camo.githubusercontent.com/c2ebc473ef3d08c3c7e338721a05d96c0dba0855a7f35c667077e6a943bc60d8/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f36376266353438372d633435642d343962362d623963302d6130353864386336383930322e706e67 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#文件-nio-实例 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#选择器 |
| https://camo.githubusercontent.com/9fef9041b9390f6b039989fc699ad044958a9912868243536ac835b1b6b3c5d5/68747470733a2f2f63732d6e6f7465732d313235363130393739362e636f732e61702d6775616e677a686f752e6d7971636c6f75642e636f6d2f30393366396535372d343239632d343133612d383365652d6336383962613539366365662e706e67 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#1-创建选择器 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#2-将通道注册到选择器上 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#3-监听事件 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#4-获取到达的事件 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#5-事件循环 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#套接字-nio-实例 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#内存映射文件 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#对比 |
| https://github.com/changsenxia/LeetCode_java/blob/master/notes/Java IO.md#八参考资料 |
| IBM: NIO 入门 | https://www.ibm.com/developerworks/cn/education/java/j-nio/j-nio.html |
| Java NIO Tutorial | http://tutorials.jenkov.com/java-nio/index.html |
| Java NIO 浅析 | https://tech.meituan.com/nio.html |
| IBM: 深入分析 Java I/O 的工作机制 | https://www.ibm.com/developerworks/cn/java/j-lo-javaio/index.html |
| IBM: 深入分析 Java 中的中文编码问题 | https://www.ibm.com/developerworks/cn/java/j-lo-chinesecoding/index.html |
| IBM: Java 序列化的高级认识 | https://www.ibm.com/developerworks/cn/java/j-lo-serial/index.html |
| NIO 与传统 IO 的区别 | http://blog.csdn.net/shimiso/article/details/24990499 |
| Decorator Design Pattern | http://stg-tud.github.io/sedc/Lecture/ws13-14/5.3-Decorator.html#mode=document |
| Socket Multicast | http://labojava.blogspot.com/2012/12/socket-multicast.html |
|
| 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 |