transformer.buffer-to-ip-address
v0.0.2
Published
transformer conversion: buffer to ip-address
Downloads
12
Maintainers
Readme
transformer.buffer-to-ip-address
Transformer conversion: buffer to ip-address
This module is a transformer conversion, published on npm. Read more about transformer at:
- the transformer website: http://transform.datadex.io
- the transformer repository: http://github.com/jbenet/transformer
Usage
Use this module through transformer.
Javascript
var transformer = require('dat-transformer');
var tBufferToIpAddress = transformer('buffer', 'ip-address');
tBufferToIpAddress(new Buffer('7f000001', 'hex')); // '127.0.0.1'