original_docstring: Write byte data to the buffer.
  
          :param bytes data: The byte data to write. This can be bytes or any object supporting the buffer protocol.
          :param int offset: The byte offset
          
docstring: Write byte data to the buffer.
docstring_tokens: Write byte data to the buffer .
code: def write(self, data: Any, offset: int = 0):
          """Write byte data to the buffer.
  
          :param bytes data: The byte data to write. This can be bytes or any object supporting the buffer protocol.
          :param int offset: The byte offset
          """
          gl.glBindBuffer(gl.GL_ARRAY_BUFFER, self._glo)
          size, data = data_to_ctypes(data)
          gl.glBufferSubData(gl.GL_ARRAY_BUFFER, gl.GLintptr(offset), size, data)
code_tokens: def write ( self , data : Any , offset : int = 0 ) : gl . glBindBuffer ( gl . GL_ARRAY_BUFFER , self . _glo ) size , data = data_to_ctypes ( data ) gl . glBufferSubData ( gl . GL_ARRAY_BUFFER , gl . GLintptr ( offset ) , size , data )
short_docstring: Write byte data to the buffer.
short_docstring_tokens: Write byte data to the buffer .
comment: """Write byte data to the buffer.
  
          :param bytes data: The byte data to write. This can be bytes or any object supporting the buffer protocol.
          :param int offset: The byte offset
          """