File "PublicKeySerializerInterface.php"

Full Path: /home/digidjwy/public_html/wp-content/plugins/mycryptocheckout/vendor/bitwasp/bitcoin/src/Crypto/EcAdapter/Serializer/Key/PublicKeySerializerInterface.php
File size: 494 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace BitWasp\Bitcoin\Crypto\EcAdapter\Serializer\Key;

use BitWasp\Bitcoin\Crypto\EcAdapter\Key\PublicKeyInterface;
use BitWasp\Buffertools\BufferInterface;

interface PublicKeySerializerInterface
{
    /**
     * @param PublicKeyInterface $publicKey
     * @return BufferInterface
     */
    public function serialize(PublicKeyInterface $publicKey);

    /**
     * @param string|BufferInterface $data
     * @return PublicKeyInterface
     */
    public function parse($data);
}