Function untypeSlice

cast a typed slice into a blob of bytes (same representation; no copy is made)

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

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