private static IList<TitleBufferElement> Deserialize(byte[] bytes)
{
var binaryFormatter = new BinaryFormatter();
using (var ms = new MemoryStream(bytes))
{
var result = (IList<TitleBufferElement>)binaryFormatter.Deserialize(ms);
return result;
}
}