]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/3rdparty/libraries/send2kindle/MOBIClass/PEOFRecord.php
3 * A Record of a End file
7 class PEOFRecord
extends FileObject
{
13 public function __construct($leng){
14 $this->elements
= new FileElement(array(
16 "offset44"=>new FileInt(0xe98e0d0a)
19 public function getByteLength(){
20 return $this->getLength();
23 public function getLength(){
24 return $this->elements
->getByteLength();
27 public function get(){
31 public function set($elements){
32 throw new Exception("Unallowed set");
35 public function serialize() {
36 return $this->elements
->serialize();
39 public function unserialize($data) {
40 $this->elements
->unserialize($data);
43 public function __toString(){
44 $output = "PalmDoc Record (".$this->getByteLength()." bytes):\n";
45 $output .= $this->elements
;