variable MP3_LAYER

Values used by the layer field.

Examples

Example 1

import { assertEquals } from "@std/assert";
import { MP3_LAYER } from "@binstruct/mp3";

assertEquals(MP3_LAYER.LAYER_3, 0b01);

Properties

RESERVED: number

Reserved — not a valid layer.

LAYER_3: number

Layer III — the format commonly called "MP3".

LAYER_2: number

Layer II.

LAYER_1: number

Layer I.

Usage

import { MP3_LAYER } from ".";