code: def bias(cp, size, bias):
      _check_params(len(cp), size)
  
      result = create_string_buffer(len(cp))
  
      for i, sample in enumerate(_get_samples(cp, size)):
          sample = _overflow(sample + bias, size)
          _put_sample(result, size, i, sample)
  
      return result.raw
  
imports: import math
  import struct
  from ctypes import create_string_buffer
label_desc: Use image node_id 28 for calling a global function with example usage: bias(cp, size, bias) and returns: result