src/MonoTorrent.Client/MonoTorrent/Torrent.cs
/// <summary>
/// Loads a torrent from a byte[] containing the bencoded data
/// </summary>
/// <param name="data">The byte[] containing the data</param>
/// <returns></returns>
Loads a torrent from a byte[] containing the bencoded data
Loads a torrent from a byte [] containing the bencoded data
public static Torrent Load (byte[] data)
        {
            Check.Data (data);
            using var s = new MemoryStream (data);
            return Load (s, "");
        }
public static Torrent Load ( byte [ ] data ) { Check . Data ( data ) ; using var s = new MemoryStream ( data ) ; return Load ( s , " " ) ; }
Loads a torrent from a byte[] containing the bencoded data
Loads a torrent from a byte [] containing the bencoded data
None
data
byte[]
The byte[] containing the data
The byte [] containing the data