BitTorrent.BEncode.Parse C# (CSharp) Method

Parse() static private method

static private Parse ( Stream d ) : IBEncodeValue
d Stream
return IBEncodeValue
        internal static IBEncodeValue Parse(Stream d)
        {
            return Parse(d, (byte)d.ReadByte());
        }

Same methods

BEncode::Parse ( Stream d, byte firstByte ) : IBEncodeValue

Usage Example

Exemplo n.º 1
0
 public void Parse(Stream s)
 {
     for (byte i = (byte)s.ReadByte(); i != 0x65; i = (byte)s.ReadByte())
     {
         BEncodeValue item = BEncode.Parse(s, i);
         this.values.Add(item);
     }
 }
All Usage Examples Of BitTorrent.BEncode::Parse