public static void write(BerBuffer buffer, String filter) {
        byte[] filterBytes = filter.getBytes();
        writeFilter(buffer, filterBytes, filterBytes.length);
    }
@author James Chen
@implSpec <a href="https://tools.ietf.org/html/rfc4515"> RFC 4515: String Representation of
          Search Filters</a>
turms-gateway/src/main/java/im/turms/gateway/infra/ldap/element/operation/search/Filter.java