public EntityReference <TEntity, TIndex> Read(BinaryReader reader) => new EntityReference <TEntity, TIndex>(Convert.ToInt32(_valueSerializer.Read(reader)));
public T?Read(BinaryReader reader) => _serializer.Read(reader);