BonCodeAJP13Namespace.BonCodeAJP13Packet.GetByte C# (CSharp) Method

GetByte() protected static method

Get the byte value from the array starting from the position Pos
protected static GetByte ( byte Data, byte &Value, int Pos ) : int
Data byte
Value byte
Pos int
return int
        protected static int GetByte(byte[] Data, ref byte Value, int Pos)
        {
            Value = Data[Pos];
            return Pos + 1;
        }