Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 904 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 904 Bytes

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