UNPKG

minecraftstatuspinger

Version:

A modern library for pinging Minecraft servers and getting their status and playerlist, written in TypeScript with zero dependencies.

16 lines 705 B
declare function encode(num: number): number[]; declare function decode(varint: Uint8Array, offset?: number): number; declare function encodingLength(num: number, offset?: number): number; declare function concatUI8(arrayOfArrays: Array<any>): Uint8Array; declare function craftInt64BE(value: bigint): Uint8Array<ArrayBuffer>; declare function craftUInt16BE(value: number): Uint8Array<ArrayBuffer>; declare const _default: { encode: typeof encode; decode: typeof decode; encodingLength: typeof encodingLength; concatUI8: typeof concatUI8; craftInt64BE: typeof craftInt64BE; craftUInt16BE: typeof craftUInt16BE; }; export default _default; //# sourceMappingURL=utils-varint.d.ts.map