File "BufferInterface.php"

Full Path: /home/digidjwy/public_html/wp-content/plugins/mycryptocheckout/vendor/bitwasp/buffertools/src/Buffertools/BufferInterface.php
File size: 947 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace BitWasp\Buffertools;

interface BufferInterface
{
    /**
     * @param integer $start
     * @param integer|null $end
     * @return BufferInterface
     * @throws \Exception
     */
    public function slice($start, $end = null);

    /**
     * Get the size of the buffer to be returned
     *
     * @return int
     */
    public function getSize();

    /**
     * Get the size of the value stored in the buffer
     *
     * @return int
     */
    public function getInternalSize();

    /**
     * @return string
     */
    public function getBinary();

    /**
     * @return string
     */
    public function getHex();

    /**
     * @return int|string
     */
    public function getInt();

    /**
     * @return \GMP
     */
    public function getGmp();

    /**
     * @return Buffer
     */
    public function flip();

    /**
     * @return bool
     */
    public function equals(BufferInterface $other);
}