Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for AppendBytes (0.06 sec)

  1. internal/grid/connection.go

    		toSend, err = m.MarshalMsg(toSend)
    		if err != nil {
    			gridLogIf(ctx, fmt.Errorf("msg.MarshalMsg: %w", err))
    			return
    		}
    		// Append as byte slices.
    		for _, q := range queue {
    			toSend = msgp.AppendBytes(toSend, q)
    			PutByteBuffer(q)
    		}
    		queue = queue[:0]
    		queueSize = 0
    
    		// Combine writes.
    		// Consider avoiding buffer copy.
    		err = wsw.writeMessage(&buf, c.side, ws.OpBinary, toSend)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top