func (conn *Conn) NewRequest(client, opcode byte, length uint16, isvoid bool, data ...byte) Request
conn := xgb.NewConn() req := conn.NewRequest(0, 10, 4, false, 0xff, 0x00, 0x00, 0x00)In this example, a new X connection is created with the "xgb.NewConn()" function. Then, a new request is created using "conn.NewRequest()". This request has a client ID of 0 (i.e. it's coming from the root window), a request code of 10 (which corresponds to the "NoOperation" request in the X protocol), a length of 4 bytes, and no return data. The request data itself consists of 4 bytes: 0xff, 0x00, 0x00, 0x00. Overall, this package provides a set of tools for working with the X protocol in Go. The "Conn NewRequest" method specifically enables the creation of new requests to be sent to the X server.