November 15, 2013
I have found in the module https://github.com/NCrashed/serial-port/blob/master/source/serial/device.d
this function:

         void write(const(void[]) arr) {
            ...

What exactly is void[]? An array of pointers? An array of "anything"?

Thank you
November 15, 2013
On Friday, 15 November 2013 at 09:19:04 UTC, Orfeo wrote:
> I have found in the module https://github.com/NCrashed/serial-port/blob/master/source/serial/device.d
> this function:
>
>          void write(const(void[]) arr) {
>             ...
>
> What exactly is void[]? An array of pointers? An array of "anything"?
>
> Thank you

It's semantics is "an array of octets". Similar, to "void *" in C++, except, the overall length in bytes is known.