It's actually going to be more useful to use the original IRSend.SendRaw method which allows you to send the length of items in the RawBuffer.