2017 © Pedro Peláez
 

library buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

image

bitwasp/buffertools

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  • Wednesday, December 27, 2017
  • by blocktrail
  • Repository
  • 3 Watchers
  • 29 Stars
  • 69,374 Installations
  • PHP
  • 8 Dependents
  • 0 Suggesters
  • 8 Forks
  • 4 Open issues
  • 40 Versions
  • 16 % Grown

The README.md

Buffertools

This library provides a Buffer and Parser class to make dealing with binary data in PHP easier. Templates extend this by offering a read/write interface for larger serialized structures., (*1)

Build Status Code Coverage Scrutinizer Code Quality Latest Stable Version Total Downloads License, (*2)

Requirements:

  • PHP 7.0+
  • Composer
  • ext-gmp

Installation

You can install this library via Composer: composer require bitwasp/buffertools, (*3)

Examples

Buffer's are immutable classes to store binary data. Buffer::hex can be used to initialize from hex Buffer::int can be used to initialize from a positive decimal integer (int|string), (*4)

Buffer's main methods are: - getBinary() - getHex() - getInt(), (*5)

Parser will read Buffers. Parser's main methods are: - readBytes() - writeBytes() - readArray() - writeArray(), (*6)

In most cases, the interface offered by Parser should not be used directly. Instead, Templates expose read/write access to larger serialized structures., (*7)

The Versions

27/12 2017

dev-master

9999999-dev

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

  • php-64bit >=7.0.0

 

The Development Requires

27/12 2017

v0.5.0

0.5.0.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

  • php-64bit >=7.0.0

 

The Development Requires

21/06 2017

0.3.x-dev

0.3.9999999.9999999-dev

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

21/06 2017

v0.3.8

0.3.8.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

21/06 2017

0.4.x-dev

0.4.9999999.9999999-dev

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

21/06 2017

v0.4.1

0.4.1.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/01 2017

v0.4.0

0.4.0.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

20/01 2017

v0.3.7

0.3.7.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

18/01 2017

v0.3.6

0.3.6.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

18/01 2017

v0.3.5

0.3.5.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

18/01 2017

v0.3.4

0.3.4.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

18/01 2017

v0.3.3

0.3.3.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

17/01 2017

v0.3.2

0.3.2.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

05/07 2016

v0.3.1

0.3.1.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/06 2016

v0.3

0.3.0.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

17/06 2016

v0.2.1

0.2.1.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

17/06 2016

v0.2

0.2.0.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

18/05 2016

v0.1.17

0.1.17.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

07/02 2016

v0.1.16

0.1.16.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

05/02 2016

v0.1.15

0.1.15.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

05/01 2016

v0.1.14

0.1.14.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

05/01 2016

v0.1.13

0.1.13.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

24/11 2015

v0.1.12

0.1.12.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

27/10 2015

v0.1.11

0.1.11.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

27/10 2015

v0.1.10

0.1.10.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

27/10 2015

v0.1.9

0.1.9.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

26/10 2015

v0.1.8

0.1.8.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

31/08 2015

v0.1.7

0.1.7.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

28/07 2015

v0.1.6

0.1.6.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

31/05 2015

v0.1.5

0.1.5.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

30/05 2015

v0.1.4

0.1.4.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

30/05 2015

v0.1.3

0.1.3.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/05 2015

v0.1.2

0.1.2.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/05 2015

v0.1.1

0.1.1.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/05 2015

v0.1.0

0.1.0.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

23/05 2015

v0.0.4

0.0.4.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/04 2015

0.0.3

0.0.3.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/04 2015

v0.0.2

0.0.2.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

The Requires

 

The Development Requires

02/04 2015

v0.0.0

0.0.0.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT

02/04 2015

v0.0.1

0.0.1.0

Toolbox for working with binary and hex data. Similar to NodeJS Buffer.

  Sources   Download

MIT