Ejemplo n.º 1
0
    public int ProcessByte(byte input, byte[] outBytes, int outOff)
    {
        int result = 0;

        Buffer[bufOff++] = input;
        if (bufOff == Buffer.Length)
        {
            result = translator.Encode(Buffer, 0, Buffer.Length, outBytes, outOff);
            bufOff = 0;
        }
        return(result);
    }