Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/byte_type/mod.ts

๐Ÿ˜‹ A small helper module for working with different raw types in javascript
Latest
import * as byteType from "https://deno.land/x/byte_type@0.4.0/mod.ts";

Classes

c
SizedType
abstract

SizedType<T> is one of the two base classes for implementing a codec.

c
UnsizedType
abstract

UnsizedType<T> is one of the two base classes for implementing a codec.

Variables

Align the value unaligned to the first integer that is divisible by alignment

Find and returns the biggest alignment out of a record / array of types

The endianess of your machine, true if little endian and false if big endian.

Type Aliases

Extract the inner value of a codec