Blighttp.Reply.MergeHeaderAndBody C# (CSharp) 메소드

MergeHeaderAndBody() 개인적인 메소드

private MergeHeaderAndBody ( byte header, byte body ) : byte[]
header byte
body byte
리턴 byte[]
        byte[] MergeHeaderAndBody(byte[] header, byte[] body)
        {
            byte[] output = new byte[body.Length + header.Length];
            Buffer.BlockCopy(header, 0, output, 0, header.Length);
            Buffer.BlockCopy(body, 0, output, header.Length, body.Length);

            return output;
        }