定制 clue/hexdump 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

clue/hexdump

最新稳定版本:v0.2.0

Composer 安装命令:

composer require clue/hexdump

包简介

View any (binary) string as a hexdump

README 文档

README

View any (binary) string as a hexdump

This is most commonly used to view binary data from streams or sockets while debugging, but can be used to view any string with non-viewable characters.

Usage

Once installed, using this library is as simple as running:

$dumper = new Clue\Hexdump\Hexdump();
echo $dumper->dump("this string \x12\x15\x16 contains \x00 binary \x04 data");

Its output will look something like this:

0000  74 68 69 73 20 73 74 72  69 6e 67 20 12 15 16 20   this str ing ... 
0010  63 6f 6e 74 61 69 6e 73  20 00 20 62 69 6e 61 72   contains  . binar
0020  79 20 04 20 64 61 74 61                            y . data

Install

The recommended way to install this library is through composer. New to composer?

{
    "require": {
        "clue/hexdump": "0.2.*"
    }
}

License

All credits go to Aidan Lister. This library is based on his work which has been released as public domain.

This library is merely a standalone version that can be easily installed via composer. It's released under the terms of the permissive MIT license.

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-06-21