private static extern void InternalWriteReadShort(ushort[] writeBuffer, int writeOffset, int writeCount, ushort[] readBuffer, int readOffset, int readCount, int startReadOffset, spi_config spi);
static extern private void InternalWriteReadByte(byte[] writeBuffer, int writeOffset, int writeCount, byte[] readBuffer, int readOffset, int readCount, int startReadOffset, spi_config spi);
private static extern void InternalWriteReadByte(byte[] writeBuffer, int writeOffset, int writeCount, byte[] readBuffer, int readOffset, int readCount, int startReadOffset, spi_config spi);
static extern private void InternalWriteReadShort(ushort[] writeBuffer, int writeOffset, int writeCount, ushort[] readBuffer, int readOffset, int readCount, int startReadOffset, spi_config spi);