Skip to content

Instantly share code, notes, and snippets.

View SamboyCoding's full-sized avatar

Sam Byass SamboyCoding

View GitHub Profile
using System;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Runtime.InteropServices;
namespace Utils
{
public unsafe class MemoryMappedFileSpanWrapper : IDisposable
{
private readonly MemoryMappedFileAccess _access;
import {readFileSync} from "fs";
const ObjectType = {
Map: 0,
String: 1,
Int32: 2
};
class Reader {
constructor(content) {

Keybase proof

I hereby claim:

  • I am SamboyCoding on github.
  • I am samboycoding (https://keybase.io/samboycoding) on keybase.
  • I have a public key whose fingerprint is 6893 921D 5F7D 6910 9B7B 832B DCB8 C68B CA11 3519

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am Samboy063 on github.
  • I am samboycoding (https://keybase.io/samboycoding) on keybase.
  • I have a public key whose fingerprint is 6893 921D 5F7D 6910 9B7B 832B DCB8 C68B CA11 3519

To claim this, I am signing this object: