glymur/jp2box.py
def write(self, fptr):
        """
        Write an XML box to file.
        """
        read_buffer = ET.tostring(self.xml.getroot(), encoding='utf-8')
        fptr.write(struct.pack('>I4s', len(read_buffer) + 8, b'xml '))
        fptr.write(read_buffer)

        Write an XML box to file.
        
Write an XML box to file.
Write an XML box to file .
def write(self, fptr):
        read_buffer = ET.tostring(self.xml.getroot(), encoding='utf-8')
        fptr.write(struct.pack('>I4s', len(read_buffer) + 8, b'xml '))
        fptr.write(read_buffer)
def write ( self , fptr ) : read_buffer = ET . tostring ( self . xml . getroot ( ) , encoding = 'utf-8' ) fptr . write ( struct . pack ( '>I4s' , len ( read_buffer ) + 8 , b'xml ' ) ) fptr . write ( read_buffer )
Write an XML box to file.
Write an XML box to file .
"""
        Write an XML box to file.
        """
self
fptr