greentic-interfaces 1.1.1

Greentic ABI: WIT contracts, generated bindings, thin mappers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: MIT

package greentic:codec@0.6.0;

interface codec {
  type cbor = list<u8>;
  encode: func(payload: cbor) -> cbor;
  decode: func(payload: cbor) -> cbor;
}

world codec-world {
  export codec;
}