   for i in [1...loop_limit] by loop_skip
     test_bx_output(T, 64, i, b64stock.encode)
   cb()
+
+exports.test_b62_streaming_correctness = (T, cb) ->
+  for i in [1...loop_limit] by loop_skip
+    test_bx_streaming_correctness(T, 62, i)
+  cb()


loop_limit = 5000
loop_skip = 29

stream_random_data = (strm, len) ->
  data = prng(len)


  T.equal(stock, encoded_data, "bad output found: base=#{base} len=#{len}")

test_bx_streaming_correctness = (T, base, len) ->
  encoding = encoding_for_base(base)
  encoder = new stream.StreamEncoder(encoding)
  block_encoder = new stream.StreamEncoder(encoding)
