axy/binary 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

axy/binary

最新稳定版本:0.2.0

Composer 安装命令:

composer require axy/binary

包简介

Working with binary strings

README 文档

README

Working with binary strings in PHP. At the moment this package doesn't make much sense. Used by some other packages.

Latest Stable Version Minimum PHP Version Tests Coverage Status License

Documentation

Native string functions allow to work with text strings as with binary (a char is a byte). The problem is that these functions can be overridden from mbstring.

The library uses mbstring functions with the charset 8bit. And native functions if mbstring is not enabled.

Binary

Class axy\binary\Binary with static methods.

  • getLength(string $string): int
  • getSlice(string $string, int $offset [, int $length]): string
  • getByteFromChar(string $char [, bool $signed = FALSE]): int
  • getByteFromString(string $string, int $index [, bool $signed = FALSE]): int
  • unpackBytes(string $string [, bool $signed = false]): int[]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-02