1 | <?php |
||
13 | class TransactionOutputSerializer |
||
14 | { |
||
15 | /** |
||
16 | * @var \BitWasp\Buffertools\Types\Uint64 |
||
17 | */ |
||
18 | private $uint64le; |
||
19 | 2692 | ||
20 | /** |
||
21 | 2692 | * @var \BitWasp\Buffertools\Types\VarString |
|
22 | 2692 | */ |
|
23 | private $varstring; |
||
24 | |||
25 | public function __construct() |
||
30 | 2692 | ||
31 | 2692 | /** |
|
32 | 2692 | * @param TransactionOutputInterface $output |
|
33 | * @return BufferInterface |
||
34 | */ |
||
35 | public function serialize(TransactionOutputInterface $output) |
||
42 | 2596 | ||
43 | 2596 | /** |
|
44 | 1298 | * @param Parser $parser |
|
45 | * @return TransactionOutput |
||
46 | * @throws \BitWasp\Buffertools\Exceptions\ParserOutOfRange |
||
47 | */ |
||
48 | public function fromParser(Parser $parser) |
||
55 | |||
56 | 198 | /** |
|
57 | * @param string $string |
||
58 | 198 | * @return TransactionOutput |
|
59 | * @throws \BitWasp\Buffertools\Exceptions\ParserOutOfRange |
||
60 | 198 | */ |
|
61 | 99 | public function parse($string) |
|
65 | } |
||
66 |