public void ReadFile(FileCollection collection, Action <string> requestDependencyCallback) { m_stream.Position = m_offset; collection.ReadSerializedFile(m_stream, Name, m_filePath, requestDependencyCallback); long read = m_stream.Position - m_offset; if (read != m_size) { //throw new System.Exception($"Read {read} but expected {m_length}"); } }