Function retypeSlice

cast a blob of bytes into a typed slice

T[] retypeSlice(T) (
  void[] slice
)
if (!is(T == const));

const(T)[] retypeSlice(T) (
  const(void)[] slice
);