Type alias NameCodec<Fns>
NameCodec<Fns>: { deserialize: Fns["deserialize"]; serialize?: Fns["serialize"]; } & { codecType: "name"; name: string; } Type declaration
deserialize: Fns["deserialize"]
Optional
serialize?: Fns["serialize"]
Type declaration
codecType: "name"
name: string