
if (!ready && (length == 0))
{
  output = ~ output;
  pointer++;
}
