@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | class BinaryBlock extends PrayBlock { |
| 14 | 14 | /// @cond INTERNAL_DOCS |
| 15 | 15 | |
| 16 | - private $binarydata; |
|
| 16 | + private $binarydata; |
|
| 17 | 17 | /// @endcond |
| 18 | 18 | |
| 19 | 19 | /// @brief Instantiate a BinaryBlock |
@@ -22,17 +22,17 @@ discard block |
||
| 22 | 22 | * @param $name The block's name. |
| 23 | 23 | * @param $content The content of the block as a binary string. |
| 24 | 24 | */ |
| 25 | - public function BinaryBlock($type,$name,$content) { |
|
| 26 | - parent::PrayBlock(null,$name,'',0,$type); |
|
| 27 | - $this->binarydata = $content; |
|
| 25 | + public function BinaryBlock($type,$name,$content) { |
|
| 26 | + parent::PrayBlock(null,$name,'',0,$type); |
|
| 27 | + $this->binarydata = $content; |
|
| 28 | 28 | } |
| 29 | 29 | /// @brief Compile the BinaryBlock |
| 30 | 30 | /** |
| 31 | 31 | * @return The compiled BinaryBlock as a binary string. |
| 32 | 32 | */ |
| 33 | - public function Compile() { |
|
| 34 | - return $this->EncodeBlockHeader(strlen($this->binarydata)).$this->binarydata; |
|
| 35 | - } |
|
| 33 | + public function Compile() { |
|
| 34 | + return $this->EncodeBlockHeader(strlen($this->binarydata)).$this->binarydata; |
|
| 35 | + } |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | ?> |