menu
endsWith
import { endsWith } from "destack:bytes";
Return whether bytes ends with suffix.
1export function endsWith(bytes: &'a readonly [uint8], suffix: &'b readonly [uint8]): booleanimport { endsWith } from "destack:bytes";
Return whether bytes ends with suffix.
1export function endsWith(bytes: &'a readonly [uint8], suffix: &'b readonly [uint8]): boolean