Home > tsbuffer > DecodeOutput
Signature:
export type DecodeOutput<T> = {
isSucc: true;
value: T;
errMsg?: undefined;
} | {
isSucc: false;
errMsg: string;
errPhase: "decode" | "validate" | undefined;
value?: undefined;
};Home > tsbuffer > DecodeOutput
Signature:
export type DecodeOutput<T> = {
isSucc: true;
value: T;
errMsg?: undefined;
} | {
isSucc: false;
errMsg: string;
errPhase: "decode" | "validate" | undefined;
value?: undefined;
};