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