fromValue static method
Implementation
static ZSTD_EndDirective fromValue(int value) => switch (value) {
0 => ZSTD_e_continue,
1 => ZSTD_e_flush,
2 => ZSTD_e_end,
_ => throw ArgumentError('Unknown value for ZSTD_EndDirective: $value'),
};