承接 antibiotics11/stream 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

antibiotics11/stream

Composer 安装命令:

composer require antibiotics11/stream

包简介

IO Stream classes mimicking java.io

README 文档

README

IO Stream classes mimicking java.io

use antibiotics11\Stream\FileOutputStream;

$helloWorldFile = new FileOutputStream(name: "hello_world.txt", append: true);
for ($i = 0; $i < 10; $i++) {
    $helloWorldFile->write(bytes: "Hello, World!\r\n");
}
$helloWorldFile->flush();
$helloWorldFile->close();

Classes

  • Stream\InputStream
  • Stream\OutputStream
  • Stream\FileInputStream
  • Stream\FileOutputStream
  • Stream\BufferedOutputStream
  • Stream\StandardInputStream [Deprecated]
  • Stream\StandardOutputStream [Deprecated]

Exceptions

  • Stream\Exception\IOException
  • Stream\Exception\FileNotFoundException

Notice

  • This project is experimental and does not guarantee the same functionality as java.io.
  • Some features may be unstable due to mimicking method overloading with optional parameters.

Requirements

Installation

composer require antibiotics11/stream:dev-main

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-29