Bug fix: actually write/read readTime from buffer