updated missing memory example to use io.ReadFull