ProcessData() 개인적인 메소드

private ProcessData ( ContentType protocol, byte buf, int offset, int len ) : void
protocol ContentType
buf byte
offset int
len int
리턴 void
예제 #1
0
        public void ReadData()
        {
            ContentType type = (ContentType)TlsUtilities.ReadUint8(inStr);

            TlsUtilities.CheckVersion(inStr, handler);
            int size = TlsUtilities.ReadUint16(inStr);

            byte[] buf = DecodeAndVerify(type, inStr, size);
            handler.ProcessData(type, buf, 0, buf.Length);
        }