/// <summary>
 /// Creates a new instance of the <see cref="BinarySerializer"/> class.
 /// </summary>
 public BinarySerializer(BinarySerializerOptions serializerOptions = default)
 {
     _serializerOptions = serializerOptions;
 }