obspy.io.segy.pack.pack_2byte_integer

pack_2byte_integer(file, data, endian='>')[source]

Packs 2 byte integers.