Skip to main content

Built and signed on GitHub Actions

A module to determine whether the bytes is match the specify signature.

This package works with Deno
This package works with Deno
JSR Score
94%
Published
7 months ago (0.1.1)

Classes

c
default

Magic bytes matcher to determine whether the bytes is match the specify magic bytes.

c
MagicBytesMatcher

Magic bytes matcher to determine whether the bytes is match the specify magic bytes.

Interfaces

I
MagicBytesMeta

Meta of the magic bytes.

I
MagicBytesMetaExtend

Meta of the magic bytes with extend information.

Type Aliases

T
MagicBytesMetaCategory

Category of the magic bytes.

T
MagicBytesMetaWithWeight

Meta of the magic bytes with weight.

Add Package

deno add jsr:@hugoalh/bytes-matcher

Import symbol

import * as mod from "@hugoalh/bytes-matcher/magic-bytes";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@hugoalh/bytes-matcher/magic-bytes";