# jetpack/7.2.2/sync/interface.jetpack-sync-codec.php

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 7.2.2. 15 lines.

- Page: https://pluginprobe.com/plugins/jetpack/7.2.2/code/sync/interface.jetpack-sync-codec.php
- Raw: https://pluginprobe.com/plugins/jetpack/7.2.2/raw/sync/interface.jetpack-sync-codec.php
- Modified: 2016-07-12T20:21:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/7.2.2/code/sync/interface.jetpack-sync-codec.php#L10-L20`.

```php
<?php

/**
 * Very simple interface for encoding and decoding input
 * This is used to provide compression and serialization to messages
 **/
interface iJetpack_Sync_Codec {
	// we send this with the payload so we can select the appropriate decoder at the other end
	public function name();

	public function encode( $object );

	public function decode( $input );
}

```
