The integral type to convert the first T.sizeof / 2 words to.
The array of word to convert
1 ushort[] words = [0x645A, 0x3ffb]; 2 assert(words.peek!float == 1.964F); 3 assert(words.length == 2); 4 5 ushort[] odd = [0x645A, 0x3ffb, 0xffaa]; 6 assert(odd.peek!float == 1.964F); 7 assert(odd.length == 3);
Takes an array of word ushort and converts the first T.sizeof / 2 word to T. The array is not consumed.