asd/asd-wx/node_modules/mux.js/cjs/utils/bin.js
愉快的大福 340a467ba1 init
2024-11-21 11:32:11 +08:00

20 lines
387 B
JavaScript

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