Revolution.Core.Message.ParsedServerBytes C# (CSharp) Method

ParsedServerBytes() private method

private ParsedServerBytes ( ) : byte[]
return byte[]
        private byte[] ParsedServerBytes()
        {
            byte[] Length = BitConverter.GetBytes(PacketLength);
            var Result = new List<byte>(base.Bytes);

            foreach (byte Byte in Length)
            {
                Result.Insert(0, Byte);
            }

            return Result.ToArray();
        }