code: def test_crc32c(crc32_func):
      def make_crc(data):
          crc = crc32_func(data)
          return struct.pack(">I", crc)
  
      assert make_crc(b"") == b"\x00\x00\x00\x00"
      assert make_crc(b"a") == b"\xc1\xd0\x43\x30"
  
      # Took from librdkafka testcase
      long_text = b"""\
    This software is provided 'as-is', without any express or implied
    warranty.  In no event will the author be held liable for any damages
    arising from the use of this software.
  
    Permission is granted to anyone to use this software for any purpose,
    including commercial applications, and to alter it and redistribute it
    freely, subject to the following restrictions:
  
    1. The origin of this software must not be misrepresented; you must not
       claim that you wrote the original software. If you use this software
       in a product, an acknowledgment in the product documentation would be
       appreciated but is not required.
    2. Altered source versions must be plainly marked as such, and must not be
       misrepresented as being the original software.
    3. This notice may not be removed or altered from any source distribution."""
      assert make_crc(long_text) == b"\x7d\xcd\xe1\x13"
  
imports: import struct
  import pytest
  from kafka.record import util
label_desc: Use image node_id 4 for calling a global function with example usage: test_crc32c(crc32_func) and returns: struct