Class EndiannessConverterGeneric
A helper class to convert the endianness of data using hardware acceleration if available.
Inheritance
System.Object
EndiannessConverterGeneric
Namespace: HDF5.NET
Assembly: HDF5.NET.dll
Syntax
public static class EndiannessConverterGeneric
Methods
| Improve this Doc View SourceConvert(Int32, Span<Byte>, Span<Byte>)
Converts the endianness of the given source buffer into the destination buffer.
Declaration
public static void Convert(int bytesOfType, Span<byte> source, Span<byte> destination)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bytesOfType | The number of bytes of the underlying data type. |
System.Span<System.Byte> | source | The source buffer. |
System.Span<System.Byte> | destination | The destination buffer. |