public unsafe void AssertThat_AcquirePointer_IsWriteable() { const int VALUE = 23523; //Write the value (using a pointer) using (var block = _store.Acquire(0)) { var i = (int *)block.Pointer; (*i) = VALUE; } //Read the value (conventionally) var b = new BinaryReader(_store.Open(0, read: true)); Assert.AreEqual(VALUE, b.ReadInt32()); }