On 5/22/15 12:21 PM, Jonathan M Davis wrote: > But if I change it to buf[0 .. 4], then it fails to compile. So, the > fact that bigEndianToNative is taking a static array is actually > catching a bug for you. Profession of undying love for D language in 3, 2, 1, ... :o) -- Andrei