You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
246 B
11 lines
246 B
4 years ago
|
const ffi = require('ffi');
|
||
|
const struct = require('ref-struct');
|
||
|
const ref = require('ref');
|
||
|
|
||
|
const Salt = module.exports.Salt = struct({
|
||
|
'size': 'pointer',
|
||
|
'body': 'pointer',
|
||
|
});
|
||
|
const PSalt = module.exports.PSalt = ref.refType(Salt);
|
||
|
|