glymur/jp2box.py
def write(self, fptr):
        """Write a NumberList box to file.
        """
        fptr.write(struct.pack('>I4s',
                               len(self.associations) * 4 + 8, b'nlst'))

        fmt = '>' + 'I' * len(self.associations)
        write_buffer = struct.pack(fmt, *self.associations)
        fptr.write(write_buffer)
Write a NumberList box to file.
        
Write a NumberList box to file.
Write a NumberList box to file .
def write(self, fptr):
        fptr.write(struct.pack('>I4s',
                               len(self.associations) * 4 + 8, b'nlst'))
        fmt = '>' + 'I' * len(self.associations)
        write_buffer = struct.pack(fmt, *self.associations)
        fptr.write(write_buffer)
def write ( self , fptr ) : fptr . write ( struct . pack ( '>I4s' , len ( self . associations ) * 4 + 8 , b'nlst' ) ) fmt = '>' + 'I' * len ( self . associations ) write_buffer = struct . pack ( fmt , * self . associations ) fptr . write ( write_buffer )
Write a NumberList box to file.
Write a NumberList box to file .
"""Write a NumberList box to file.
        """
self
fptr