Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sail-sail/minio

minio client for deno
https://github.com/sail-sail/minio

Last synced: 1 day ago
JSON representation

minio client for deno

Awesome Lists containing this project

README

        

# long

A Long class for representing a 64 bit two's-complement integer value derived from the Closure Library for stand-alone use and extended with unsigned support.

## usage
```ts
import { assert, assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
import Long from "https://deno.land/x/[email protected]/mod.ts";

Deno.test("long", function() {
const value = new Long(0xFFFFFFFF, 0x7FFFFFFF);
assertEquals(value.toString(), "9223372036854775807");
});

Deno.test("isLong", function() {
const value = new Long(0xFFFFFFFF, 0x7FFFFFFF);
assert(Long.isLong(value));
});
```