private static void writeBytes(OutputStream out, int value, int count) throws IOException {
        for (int i = 0; i < count; i++) {
            out.write(value);
        }
    }
Writes the given byte the given number of times into an output stream.

@param out   the output stream
@param value the value to write
@param count the number of bytes to write
@throws IOException if an error occurs
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-audiovideo-module/src/test/java/org/apache/tika/parser/mp3/MpegStreamTest.java