C# Class DotaMatches.MatchSerializer

Show file Open project: spew/dota-matches Class Usage Examples

Public Methods

Method Description
FromBytes ( byte bytes ) : Match

Private Methods

Method Description
DecodePlayer ( Match match, byte bytes, int &curIdx ) : Player
FindValue ( byte value, byte bytes, int curIdx, bool throwIfNotFound = true ) : int?
ParseUInt32 ( byte bytes, int &curIdx ) : uint
ParseVarInt ( byte bytes, int &curIdx ) : ulong
ValidateField ( byte bytes, int &curIdx, byte value ) : void

Method Details

FromBytes() public static method

public static FromBytes ( byte bytes ) : Match
bytes byte
return Match