Show / Hide Table of Contents

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 : object

Methods

| Improve this Doc View Source

Convert(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.

Span<System.Byte> source

The source buffer.

Span<System.Byte> destination

The destination buffer.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2023 Vincent Wilms