public String toString(String prefix) {
        if (prefix == null) {
            prefix = "";
        }
        final StringBuilder result = new StringBuilder();

        result.append(prefix);
        result.append(tagInfo);
        result.append(NEWLINE);

        result.append(prefix);
        result.append("count: ");
        result.append(count);
        result.append(NEWLINE);

        result.append(prefix);
        result.append(abstractFieldType);
        result.append(NEWLINE);

        return result.toString();
    }
Set the data for this TIFF output field.

@param bytes TIFF output field data.
@throws ImagingException if the length of the bytes array do not match.
src/main/java/org/apache/commons/imaging/formats/tiff/write/TiffOutputField.java