long getContentLength()
    {
        if (content == null) {
            return 0L;
        }

        return content.length();
    }
Create a finder object for a raw sequence of bytes

@param sequence the byte sequence to find
@param aContent  provider to be traversed
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/BinaryTextFinder.java