Example #1
0
 public function testReverse()
 {
     $input = chr(0x0) . chr(0xa) . chr(0x1) . chr(0x0) . chr(0x23) . chr(0xf1) . chr(0xb) . chr(0xfe);
     $frame = new APSFrame($input);
     $this->assertEquals($input, $frame->getFrame());
 }
Example #2
0
 public function setPayloadObject(APSFrame $object)
 {
     $this->setApsFormat($object->getFrameFormat());
     $this->setPayload($object->getFrame());
 }