asd/asd-pc/node_modules/mux.js/lib/utils/bin.js
愉快的大福 eb8378e551 init
2024-11-21 11:06:22 +08:00

19 lines
350 B
JavaScript

/**
* mux.js
*
* Copyright (c) Brightcove
* Licensed Apache-2.0 https://github.com/videojs/mux.js/blob/master/LICENSE
*/
var toUnsigned = function(value) {
return value >>> 0;
};
var toHexString = function(value) {
return ('00' + value.toString(16)).slice(-2);
};
module.exports = {
toUnsigned: toUnsigned,
toHexString: toHexString
};