Lendo arquivo de texto em J2ME

Estou tentando ler um recurso (asdf.txt), mas se o arquivo for maior que 5000 bytes, (por exemplo) 4700 pedaços de caracteres nulos inseridos no final da variável de conteúdo. Existe alguma maneira de removê-los? (ou para definir o tamanho certo do buffer?)

Aqui está o código:

String content = "";
try {
    InputStream in = this.getClass().getResourceAsStream("asdf.txt");
    byte[] buffer = new byte[5000];
    while (in.read(buffer) != -1) {
        content += new String(buffer);
    }
} catch (Exception e) {
    e.printStackTrace();
}

questionAnswers(1)

yourAnswerToTheQuestion