Use `SharedBuffer<int>` across the reader and writer apps, with callback-based buffer access. Add bounds checks to array and span read/write operations.
Introduce a generic shared buffer with typed span access and
timeout-based read/write waits. Update the sample to verify data
shared between two buffer views.