import { maxBytes } from "https://deno.land/x/valibot@v0.30.0/mod.ts";
Creates a pipeline validation action that validates the bytes of a string.
Parameters
requirement: TRequirement
The maximum bytes.
optional
message: ErrorMessageThe error message.
Returns
A validation action.