hisamu/php-xbase

View on GitHub
src/DataConverter/Record/RecordDataConverterInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php declare(strict_types=1);

namespace XBase\DataConverter\Record;

use XBase\Record\RecordInterface;

/**
 * Converts table row binary data to normal RecordInterface data and back.
 */
interface RecordDataConverterInterface
{
    public function fromBinaryString(string $rawData): array;

    public function toBinaryString(RecordInterface $record): string;
}