On Friday, 25 March 2016 at 18:25:28 UTC, Charles Hixson wrote:
But when I try to cast a Chnk to a ubyte[], I get an error, and
rawWrite takes a generic array of anything... you should be able to rawWrite((&your_object)[0 .. 1])
Adam D. Ruppe via Digitalmars-d-learn Fri, 25 Mar 2016 11:36:36 -0700
On Friday, 25 March 2016 at 18:25:28 UTC, Charles Hixson wrote:
But when I try to cast a Chnk to a ubyte[], I get an error, and
rawWrite takes a generic array of anything... you should be able to rawWrite((&your_object)[0 .. 1])