untypeSlice

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

  1. void[] untypeSlice(T[] slice)
    void[]
    untypeSlice
    (
    T
    )
    (
    T[] slice
    )
    if (
    !is(T == const)
    )
  2. const(void)[] untypeSlice(const(T)[] slice)

Meta