Skip to content
/ dtyp Public

DTYP / Windows Data Type library in TypeScript

License

Notifications You must be signed in to change notification settings

ardean/dtyp

Repository files navigation

dtyp

DTYP / Windows Data Type library in TypeScript.

Github Version NPM Version NPM Downloads License

[MS-DTYP]: Windows Data Types

Installation

$ npm i dtyp

Usage

import dtyp from "dtyp";

const buffer = dtyp.serializeFiletime(new Date());
console.log(buffer); // <Buffer b0 ab ee 3a 1f 38 d6 01>

const date = dtyp.parseFiletime(buffer);
console.log(date); // 2020-06-01T14:16:23.787Z

Features

  • filetime parse / serialize

License

MIT