dl-common-util 0.4.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dl-common-util.d.ts +22 -0
- package/dl-common-util.js +619 -430
- package/dl-common-util.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1024 -977
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
package/dl-common-util.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare namespace com.d10ng.common.base {
|
|
|
44
44
|
get(): number;
|
|
45
45
|
getByteByIndex(index: number): number;
|
|
46
46
|
getBytesByIndex(dst: Int8Array, offset?: number, length?: number): com.d10ng.common.base.ByteBuffer;
|
|
47
|
+
getBytes(size: number): Int8Array;
|
|
47
48
|
put(b: number): com.d10ng.common.base.ByteBuffer;
|
|
48
49
|
putByteByIndex(index: number, b: number): com.d10ng.common.base.ByteBuffer;
|
|
49
50
|
putBytesByIndex(src: Int8Array, offset?: number, length?: number): com.d10ng.common.base.ByteBuffer;
|
|
@@ -87,6 +88,27 @@ export declare namespace com.d10ng.common.base {
|
|
|
87
88
|
function byteToUnsignedInt(_this_: number): number;
|
|
88
89
|
function byteGetBit(_this_: number, bitIndex: number): number;
|
|
89
90
|
}
|
|
91
|
+
export declare namespace com.d10ng.common.base {
|
|
92
|
+
function doubleToByteArray(_this_: number): Int8Array;
|
|
93
|
+
function byteArrayToDouble(_this_: Int8Array): number;
|
|
94
|
+
}
|
|
95
|
+
export declare namespace com.d10ng.common.base {
|
|
96
|
+
function floatToByteArray(_this_: number): Int8Array;
|
|
97
|
+
function byteArrayToFloat(_this_: Int8Array): number;
|
|
98
|
+
}
|
|
99
|
+
export declare namespace com.d10ng.common.base {
|
|
100
|
+
function byteArrayToInt(_this_: Int8Array): number;
|
|
101
|
+
}
|
|
102
|
+
export declare namespace com.d10ng.common.base {
|
|
103
|
+
function byteArrayToLong(_this_: Int8Array): any/* kotlin.Long */;
|
|
104
|
+
}
|
|
105
|
+
export declare namespace com.d10ng.common.base {
|
|
106
|
+
function byteArrayToShortArray(_this_: Int8Array): Int16Array;
|
|
107
|
+
function shortArrayToByteArray(_this_: Int16Array): Int8Array;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace com.d10ng.common.base {
|
|
110
|
+
function byteArrayToShort(_this_: Int8Array): number;
|
|
111
|
+
}
|
|
90
112
|
export declare namespace com.d10ng.common.base {
|
|
91
113
|
function binStringToByte(_this_: string): number;
|
|
92
114
|
function binStringToByteArray(_this_: string): Int8Array;
|