Response.opCast

Attempts to convert a response to an array of bytes

For intvals - converts to an array of bytes that is Response.intval.sizeof long For Bulk - casts the string to C[]

Returns an empty array in all other cases;

  1. T opCast()
  2. T opCast()
  3. C[] opCast()
    struct Response
    C[]
    opCast
    (
    C : C[]
    )
    ()
    if (
    is(C == byte) ||
    is(C == ubyte)
    )

Meta