public unsafe void Convert( byte* input, byte* output, int offset ) { ushort* inputPtr = (ushort*)input; byte* outputPtr = (byte*)output; ushort inp = inputPtr[ offset ]; outputPtr[ offset ] = (byte)( inp >> 8 ); } }