Download the PHP package xialeistudio/io without Composer
On this page you can find all versions of the php package xialeistudio/io. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xialeistudio/io
More information about xialeistudio/io
Files in xialeistudio/io
Download xialeistudio/io
More information about xialeistudio/io
Files in xialeistudio/io
Vendor xialeistudio
Package io
Short Description user-friendly binary data operation library
License MIT
Homepage https://github.com/xialeistudio/php-io
Package io
Short Description user-friendly binary data operation library
License MIT
Homepage https://github.com/xialeistudio/php-io
Please rate this library. Is it a good library?
Informations about the package io
php-io
user-friendly binary data operation library.
As you know, pack
/unpack
is not user-friendly to operate binary data, so that's why this project developed.
You can use this project to develop binary protocol client(eg. kafka, memcached, etc...)
中文文档
Install
Features
- Operate binary string
- Operate file resource(eg. File, Sockets, etc.)
Supported Data Types
Type | Alias | Byte Length |
---|---|---|
unsigned char | uint8 | 1 |
signed char | int8 | 1 |
unsigned short | uint16 | 2 |
signed short | int16 | 2 |
unsigned int | uint32 | 4 |
signed int | int32 | 4 |
string | - | - |
all numbers support big endian and little endian
Examples
BinaryString Example
This example simply operate data with binary string in memory.
FileStream Example
This example simply send/receive binary data with socket connection.
Kafka Metadata Request
examples/get_kafka_brokers.php
show how to communicate with kafka.
All versions of io with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package xialeistudio/io contains the following files
Loading the files please wait ....