Help test Google flatbuffers

timotheecour via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 14 15:51:30 PDT 2016


On Sunday, 15 May 2016 at 14:08:57 UTC, Joseph Rushton Wakeling 
wrote:
> (2) It's probably more idiomatic to use `void[]` for buffers of 
> binary data, although I imagine you may have some reasons for 
> using `ubyte[]` ... ?

curious about this. https://dlang.org/phobos/std_outbuffer.html 
defines:
```
pure nothrow @safe ubyte[] toBytes();
pure nothrow @safe void write(const(ubyte)[] bytes);
```

so which is standard?


More information about the Digitalmars-d mailing list