parameters: (self, elem_size, elem_count)
docstring: A shuffle buffer for fixed sized elements.
  
              Manages 'elem_count' items in a fixed buffer, each item being exactly
              'elem_size' bytes.
docstring_summary: A shuffle buffer for fixed sized elements.
docstring_tokens: A shuffle buffer for fixed sized elements .
function: def __init__(self, elem_size, elem_count):
          """
              A shuffle buffer for fixed sized elements.
  
              Manages 'elem_count' items in a fixed buffer, each item being exactly
              'elem_size' bytes.
          """
          assert elem_size > 0, elem_size
          assert elem_count > 0, elem_count
          # Size of each element.
          self.elem_size = elem_size
          # Number of elements in the buffer.
          self.elem_count = elem_count
          # Fixed size buffer used to hold all the element.
          self.buffer = bytearray(elem_size * elem_count)
          # Number of elements actually contained in the buffer.
          self.used = 0
function_tokens: def __init__ ( self , elem_size , elem_count ) : assert elem_size > 0 , elem_size assert elem_count > 0 , elem_count # Size of each element. self . elem_size = elem_size # Number of elements in the buffer. self . elem_count = elem_count # Fixed size buffer used to hold all the element. self . buffer = bytearray ( elem_size * elem_count ) # Number of elements actually contained in the buffer. self . used = 0