code: public static RateLimitOutputStream limitRate(OutputStream base, TickSource tickSource, int bytesPerTick, int prescaler) {
        return new RateLimitOutputStream(base, tickSource, bytesPerTick, prescaler);
     }
docs: Creates a byte-rate-limited {@link OutputStream}. See
  {@link RateLimitOutputStream#RateLimitOutputStream(OutputStream, TickSource, int, int)}
  for detailed information.
  
  @param base
  The raw (underlying) {@link OutputStream}
  @param tickSource
  The source of ticks
  @param bytesPerTick
  (see
  {@link RateLimitOutputStream#RateLimitOutputStream(OutputStream, TickSource, int, int)}
  )
  @param prescaler
  (see
  {@link RateLimitOutputStream#RateLimitOutputStream(OutputStream, TickSource, int, int)}
  )
  @return the resulting output stream