Skip to content

ahadcove/Byte-Morph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Byte Morph

Byte Morph is a utensil for bytes. It can convert your boring old digits and string into beautify bytes

Why

When using udp you deal with bytes. Since Javascript doesn't have a built in way when dealing with bytes in some of the formats that udp require, I noticed I needed to make something to make my life easier.

Usage

convertToBytes


import convertToBytes from 'byte-morph';

var digit = 5;
convertToBytes(digit, 16); // 0x5

License

Apache 2.0

About

Convert digits and strings to bytes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published