<?php


namespace Mainto\RpcServer\Util\Binary;


abstract class Endian {

    abstract public static function uint32ToStr(int $int): string;

    abstract public static function strToUint32(string $str): int;

    abstract public static function putUint16(&$str, $start, int $int): void;

    abstract public static function intToUint16(int $int): string;
}