def data_threshold
      size_ptr = FFI::MemoryPointer.new(:size_t, 1)
      if (rc = Native.sd_journal_get_data_threshold(@ptr, size_ptr)) < 0
        raise JournalError, rc
      end

      size_ptr.read_size_t
    end
def data_threshold
      size_ptr = FFI::MemoryPointer.new(:size_t, 1)
      if (rc = Native.sd_journal_get_data_threshold(@ptr, size_ptr)) < 0
        raise JournalError, rc
      end

      size_ptr.read_size_t
    end
Get the maximum length of a data field that will be returned.
 Fields longer than this will be truncated.  Default is 64K.
 @return [Integer] size in bytes.