FpgaManager
Software API Documentation
|
Provides access to the FPGA Manager Streaming API More...
Public Member Functions | |
int | Read (byte[] buffer) |
Read data from stream into buffer More... | |
int | Read (byte[] buffer, int offset, int length) |
Read data from stream into buffer More... | |
int | Read (IntPtr buffer, int offset, int length) |
Read data from stream into buffer More... | |
Task< AsyncStreamTransferResult > | ReadAsync (byte[] buffer) |
Read data from stream into buffer asynchronously (non-blocking) More... | |
Task< AsyncStreamTransferResult > | ReadAsync (byte[] buffer, int offset, int length) |
Read data from stream into buffer asynchronously (non-blocking) More... | |
Task< AsyncStreamPtrTransferResult > | ReadAsync (IntPtr buffer, int offset, int length) |
Read data from stream into buffer asynchronously (non-blocking) More... | |
int | Write (byte[] buffer) |
Write data from buffer to stream More... | |
int | Write (byte[] buffer, int offset, int length) |
Write data from buffer to stream More... | |
int | Write (IntPtr buffer, int offset, int length) |
Write data from buffer to stream More... | |
Task< AsyncStreamTransferResult > | WriteAsync (byte[] buffer) |
Write data from buffer to stream asynchronously (non-blocking) More... | |
Task< AsyncStreamTransferResult > | WriteAsync (byte[] buffer, int offset, int length) |
Write data from buffer to stream asynchronously (non-blocking) More... | |
Task< AsyncStreamPtrTransferResult > | WriteAsync (IntPtr buffer, int offset, int length) |
Write data from buffer to stream asynchronously (non-blocking) More... | |
void | Flush () |
Flushes the inbound buffer More... | |
int | Read (Span< byte > data) |
Read data from stream into buffer More... | |
int | Read (Memory< byte > data) |
Read data from stream into buffer More... | |
Task< AsyncStreamMemRdTransferResult > | ReadAsync (Memory< byte > buffer) |
Read data from stream into buffer asynchronously (non-blocking) More... | |
int | Write (ReadOnlySpan< byte > data) |
Write data from buffer to stream More... | |
int | Write (ReadOnlyMemory< byte > data) |
Write data from buffer to stream More... | |
Task< AsyncStreamMemWrTransferResult > | WriteAsync (ReadOnlyMemory< byte > buffer) |
Write data from buffer to stream asynchronously (non-blocking) More... | |
Provides access to the FPGA Manager Streaming API
void Flush | ( | ) |
Flushes the inbound buffer
int Read | ( | byte [] | buffer | ) |
Read data from stream into buffer
buffer | Buffer where the data is copied to |
int Read | ( | byte [] | buffer, |
int | offset, | ||
int | length | ||
) |
Read data from stream into buffer
buffer | Buffer where the data is copied to |
offset | Start offset within buffer |
length | Length of transfer in bytes |
int Read | ( | IntPtr | buffer, |
int | offset, | ||
int | length | ||
) |
Read data from stream into buffer
buffer | Buffer where the data is copied to |
offset | Start offset within buffer |
length | Length of transfer in bytes |
int Read | ( | Span< byte > | data | ) |
Read data from stream into buffer
requires .NET standard 2.1
data | Buffer where the data is copied to |
int Read | ( | Memory< byte > | data | ) |
Read data from stream into buffer
requires .NET standard 2.1
data | Buffer where the data is copied to |
Task<AsyncStreamTransferResult> ReadAsync | ( | byte [] | buffer | ) |
Read data from stream into buffer asynchronously (non-blocking)
buffer | Buffer where the data is copied to |
Task<AsyncStreamTransferResult> ReadAsync | ( | byte [] | buffer, |
int | offset, | ||
int | length | ||
) |
Read data from stream into buffer asynchronously (non-blocking)
buffer | Buffer where the data is copied to |
offset | Start offset within buffer |
length | Length of transfer in bytes |
Task<AsyncStreamPtrTransferResult> ReadAsync | ( | IntPtr | buffer, |
int | offset, | ||
int | length | ||
) |
Read data from stream into buffer asynchronously (non-blocking)
buffer | Buffer where the data is copied to |
offset | Start offset within buffer |
length | Length of transfer in bytes |
Task<AsyncStreamMemRdTransferResult> ReadAsync | ( | Memory< byte > | buffer | ) |
Read data from stream into buffer asynchronously (non-blocking)
requires .NET standard 2.1
buffer | Buffer where the data is copied to |
int Write | ( | byte [] | buffer | ) |
Write data from buffer to stream
buffer | Buffer where the data is copied from |
int Write | ( | byte [] | buffer, |
int | offset, | ||
int | length | ||
) |
Write data from buffer to stream
buffer | Buffer where the data is copied from |
offset | Start offset within buffer |
length | Length of transfer in bytes |
int Write | ( | IntPtr | buffer, |
int | offset, | ||
int | length | ||
) |
Write data from buffer to stream
buffer | Buffer where the data is copied from |
offset | Start offset within buffer |
length | Length of transfer in bytes |
int Write | ( | ReadOnlySpan< byte > | data | ) |
Write data from buffer to stream
requires .NET standard 2.1
data | Buffer where the data is copied from |
int Write | ( | ReadOnlyMemory< byte > | data | ) |
Write data from buffer to stream
requires .NET standard 2.1
data | Buffer where the data is copied from |
Task<AsyncStreamTransferResult> WriteAsync | ( | byte [] | buffer | ) |
Write data from buffer to stream asynchronously (non-blocking)
buffer | Buffer where the data is copied from |
Task<AsyncStreamTransferResult> WriteAsync | ( | byte [] | buffer, |
int | offset, | ||
int | length | ||
) |
Write data from buffer to stream asynchronously (non-blocking)
buffer | Buffer where the data is copied from |
offset | Start offset within buffer |
length | Length of transfer in bytes |
Task<AsyncStreamPtrTransferResult> WriteAsync | ( | IntPtr | buffer, |
int | offset, | ||
int | length | ||
) |
Write data from buffer to stream asynchronously (non-blocking)
buffer | Buffer where the data is copied from |
offset | Start offset within buffer |
length | Length of transfer in bytes |
Task<AsyncStreamMemWrTransferResult> WriteAsync | ( | ReadOnlyMemory< byte > | buffer | ) |
Write data from buffer to stream asynchronously (non-blocking)
requires .NET standard 2.1
buffer | Buffer where the data is copied from |