UNPKG

as-scale-codec

Version:

AssemblyScript implementation of the SCALE codec used in the Parity Substrate framework

11 lines (10 loc) 240 B
import { Codec } from ".."; /** * @description Interface for types that could be unwrapped */ export interface UnwrappableCodec<T> extends Codec { /** * Returns the inner native value of the SCALE type */ unwrap(): T; }