dl-common-util 0.7.0 → 0.8.0

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.
@@ -4,7 +4,7 @@ export declare namespace com.d10ng.common.base {
4
4
  function byteArrayToBinString(_this_: Int8Array, space?: boolean): string;
5
5
  function byteArrayToHexString(_this_: Int8Array, space?: boolean, uppercase?: boolean): string;
6
6
  function byteArrayToUnsignedInt(_this_: Int8Array): number;
7
- function byteArrayToUnsignedLong(_this_: Int8Array): any/* kotlin.Long */;
7
+ function byteArrayToUnsignedLong(_this_: Int8Array): bigint;
8
8
  function indexOfByteArray(_this_: Int8Array, bs: Int8Array): number;
9
9
  function byteArrayPadStart(_this_: Int8Array, length: number, padByte?: number): Int8Array;
10
10
  function byteArrayPadEnd(_this_: Int8Array, length: number, padByte?: number): Int8Array;
@@ -108,14 +108,14 @@ export declare namespace com.d10ng.common.base {
108
108
  }
109
109
  }
110
110
  }
111
- class BufferOverflowException /* extends kotlin.Exception */ {
111
+ class BufferOverflowException extends /* kotlin.Exception */ Error {
112
112
  constructor();
113
113
  }
114
114
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
115
115
  namespace BufferOverflowException.$metadata$ {
116
116
  const constructor: abstract new () => BufferOverflowException;
117
117
  }
118
- class BufferUnderflowException /* extends kotlin.Exception */ {
118
+ class BufferUnderflowException extends /* kotlin.Exception */ Error {
119
119
  constructor();
120
120
  }
121
121
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -144,7 +144,7 @@ export declare namespace com.d10ng.common.base {
144
144
  function byteArrayToInt(_this_: Int8Array): number;
145
145
  }
146
146
  export declare namespace com.d10ng.common.base {
147
- function byteArrayToLong(_this_: Int8Array): any/* kotlin.Long */;
147
+ function byteArrayToLong(_this_: Int8Array): bigint;
148
148
  }
149
149
  export declare namespace com.d10ng.common.base {
150
150
  function byteArrayToShortArray(_this_: Int8Array): Int16Array;
@@ -348,7 +348,7 @@ export declare namespace com.d10ng.common.transform {
348
348
  export declare namespace com.d10ng.common.base {
349
349
  function numberToString(_this_: any/* kotlin.Number */, maxDecimalCount: number): string;
350
350
  function numberToByteArray(_this_: any/* kotlin.Number */, size?: Nullable<number>): Int8Array;
351
- function asLong(_this_: any/* kotlin.Number */): any/* kotlin.Long */;
351
+ function asLong(_this_: any/* kotlin.Number */): bigint;
352
352
  }
353
353
  export declare namespace com.d10ng.common.transform {
354
354
  function encodeGBK(_this_: string): Int8Array;