Skip to content
Augmented Code

Augmented Code

Performant, sleek and elegant.

  • Home
  • Drifty Asteroid
  • Signal Path
  • Blog
  • Contact
  • About

Tag: UnsafeMutableRawBufferPointer

Posted on February 15, 2021February 11, 2021

Building a memory cache for a file reader in Swift

In the previous blog post Reading data from a file with DispatchIO I built a small FileReader which enabled reading data from a file for random byte ranges. Signal Path uses a similar file reader but in addition it also caches read data in some interactions where there are a lot of read requests active, for …

Continue reading "Building a memory cache for a file reader in Swift"

  • Facebook
  • Twitter
  • LinkedIn
  • Email
Blog at WordPress.com.