import { bytes } from "https://deno.land/x/valibot@v0.24.0/src/index.ts";
Creates a validation function that validates the byte length of a string.
Parameters
requirement: TRequirement
The byte length.
optional
message: ErrorMessage = [UNSUPPORTED]The error message.
Returns
A validation function.