Now returning available output bytes in the API