public void encode(OutputStream os, BencodeType... values) throws IOException {
        if (values != null) {
            for (BencodeType value : values) {
                value.encode(os);
            }
        }
    }