DecompressJPEGArrayToBpm() public method

public DecompressJPEGArrayToBpm ( byte JPEGArray ) : Bitmap
JPEGArray byte
return System.Drawing.Bitmap
        public void PacketReconstructedCBHandler(int FileID, byte[] filebyte, int bytesRead)
        {
            CodecUtility aCodec = new CodecUtility();
            SetLatestFrame(aCodec.DecompressJPEGArrayToBpm(filebyte));

            //Call the callback
            if (aNewBitmapReceivedEvent != null)
            {
                aNewBitmapReceivedEvent(GetLatestFrame());
            }
        }
        public void PacketReconstructedCBHandler(int FileID, byte[] filebyte, int bytesRead)
        {
            CodecUtility aCodec = new CodecUtility();

            SetLatestFrame(aCodec.DecompressJPEGArrayToBpm(filebyte));

            //Call the callback
            if (aNewBitmapReceivedEvent != null)
            {
                aNewBitmapReceivedEvent(GetLatestFrame());
            }
        }