uint8_t
followed by the attribute itself which can vary between types of uint
int
or string
$buffer = new OTS_Buffer($test['attributes ']);
$buffer->getChar();
$buffer->getShort();
$buffer->getLong();
$buffer->getString();
$buffer->skip($x);
But I use gesior acc not myaccSame way you read attributes that I posted. Just different format, but also BLOB, so usage is same.
Copy this file contents from MyAAC:But I use gesior acc not myacc
classes
with filename ots_buffer.php
(lowercase name of PHP class) and then you use OTS_Buffer
class anywhere in Gesior2012 code ex. code like in @tobi132 post:$buffer = new OTS_Buffer($test['attributes ']);
$buffer->getChar();
$buffer->getShort();
$buffer->getLong();
$buffer->getString();
$buffer->skip($x);