Packet encoding.
///
/// Contains utility methods for decoding generic packets.
///
///
public class PacketEncoding
{
// create an empty array to return whenever we need to return an, er,
// empty array. this should be okay, because how can you mutate a
// 0-length array?
//UPGRADE_NOTE: Final was removed from the declaration of 'EMPTY_BYTE_ARRAY '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'"
private static readonly byte[] EMPTY_BYTE_ARRAY = new byte[0];
///