to get a small byte response from stream api (for colorlight project)