test()1 void test() 2 { 3 int i; 4 ubyte[4] ub; 5 ub[] = cast(ubyte[4]) &i; 6 //ub[] = (cast(ubyte*) &i)[0..4]; 7 } 8 9