code: def load_read(self, bytes):
      #
      # load all image data in one chunk
  
      xsize, ysize = self.size
  
      s = [None] * ysize
  
      for i in range(ysize):
          s[i] = self.fp.readline()[1 : xsize + 1].ljust(xsize)
  
      return b"".join(s)
  
file_path: pillow/src/PIL/XpmImagePlugin.py
imports: from __future__ import annotations
  import re
  from .None import Image, ImageFile, ImagePalette
  from ._binary import o8
label_desc: Use image node_id 2 for calling the XpmImageFile obj's underlying member method code with example usage: obj.load_read(bytes) and returns: bytes