def serialize_as_length_prefixed_string(value, output_buffer):
    output_buffer.write('`s')
    if type(value) is unicode:
        to_serialize = value.encode('utf-8')
    else:
        to_serialize = value
    output_buffer.write(struct.pack('>i', len(to_serialize)))
    output_buffer.write(to_serialize)
Multi-dimensional uniform fourier filter.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/json_lib/serializer.py/serialize_as_length_prefixed_string--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/ndimage/fourier.py/fourier_uniform