memio

Package memio implements Read, Write, Seek, Close and other io methods for a byte slice.

Go Reference