2 var utils = require('./utils');
6 * This function will be removed in a future version without replacement.
8 exports.string2binary = function(str) {
9 return utils.string2binary(str);
14 * This function will be removed in a future version without replacement.
16 exports.string2Uint8Array = function(str) {
17 return utils.transformTo("uint8array", str);
22 * This function will be removed in a future version without replacement.
24 exports.uint8Array2String = function(array) {
25 return utils.transformTo("string", array);
30 * This function will be removed in a future version without replacement.
32 exports.string2Blob = function(str) {
33 var buffer = utils.transformTo("arraybuffer", str);
34 return utils.arrayBuffer2Blob(buffer);
39 * This function will be removed in a future version without replacement.
41 exports.arrayBuffer2Blob = function(buffer) {
42 return utils.arrayBuffer2Blob(buffer);
47 * This function will be removed in a future version without replacement.
49 exports.transformTo = function(outputType, input) {
50 return utils.transformTo(outputType, input);
55 * This function will be removed in a future version without replacement.
57 exports.getTypeOf = function(input) {
58 return utils.getTypeOf(input);
63 * This function will be removed in a future version without replacement.
65 exports.checkSupport = function(type) {
66 return utils.checkSupport(type);
71 * This value will be removed in a future version without replacement.
73 exports.MAX_VALUE_16BITS = utils.MAX_VALUE_16BITS;
77 * This value will be removed in a future version without replacement.
79 exports.MAX_VALUE_32BITS = utils.MAX_VALUE_32BITS;
84 * This function will be removed in a future version without replacement.
86 exports.pretty = function(str) {
87 return utils.pretty(str);
92 * This function will be removed in a future version without replacement.
94 exports.findCompression = function(compressionMethod) {
95 return utils.findCompression(compressionMethod);
100 * This function will be removed in a future version without replacement.
102 exports.isRegExp = function (object) {
103 return utils.isRegExp(object);