2016-07-04 01:43:23 +02:00
|
|
|
<?php
|
|
|
|
|
2016-07-06 14:24:07 +02:00
|
|
|
//require('vendor/autoload.php');
|
|
|
|
require('lib/danog/PHP/Struct.php');
|
2016-07-05 19:29:13 +02:00
|
|
|
$struct = new danog\PHP\Struct();
|
2016-07-04 01:43:23 +02:00
|
|
|
|
2016-07-06 23:36:35 +02:00
|
|
|
|
2016-07-09 15:16:59 +02:00
|
|
|
var_dump($struct->unpack(">2cxbxBx?xhxHxixIxlxLxqxQxnxNxfxdx2sx",
|
|
|
|
$struct->pack(">2cxbxBx?xhxHxixIxlxLxqxQxnxNxfxdx2sx",
|
2016-07-08 22:57:46 +02:00
|
|
|
"nv", 61, 61, false, 333, 444, 232423, 234342, 243342423424, 234234234234, 234234234234, 234234234234, 34434, 344434, 2.2343, 3.03424, "dd"
|
|
|
|
|
|
|
|
)
|
|
|
|
));
|