AlpacaTools Class
Repository of tools and constants specific to Alpaca implementation
Namespace: ASCOM.Common.AlpacaAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public static class AlpacaTools
<ExtensionAttribute>
Public NotInheritable Class AlpacaTools
- Inheritance
- Object AlpacaTools
| ErrorMessageToByteArray |
Convert an Alpaca error number and message to a byte array for transfer to a client.
|
| GetErrrorMessage |
Alpaca Extension - Extracts the error message from a byte array returned by an Alpaca device.
|
| GetImageData |
Alpaca Extension - Returns the image data from an ImageBytes byte array.
|
| GetMetadataV1 |
Alpaca Extension - Extracts the array metadata from in version 1 form from a byte array returned by an Alpaca device.
|
| GetMetadataVersion |
Alpaca Extension - Returns the metadata version in use within the byte array presentation of an image array.
|
| ToByteArray(Array, Int32, UInt32, UInt32, AlpacaErrors, String) |
Alpaca Extension - Convert the array or error message to a byte array for transmission to a client
|
| ToByteArray(Array, Int32, UInt32, UInt32, ImageArrayElementTypes, AlpacaErrors, String) |
Alpaca Extension - Convert the array or error message to a byte array for transmission to a client
|
| ToImageArray |
Alpaca Extension - Convert a byte array to a 2D or 3D mage array based on the array metadata.
|
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10