using System; using System.Runtime.InteropServices; namespace DeepSpeechClient.Structs { [StructLayout(LayoutKind.Sequential)] internal unsafe struct Metadata { /// /// Native list of items. /// internal unsafe IntPtr items; /// /// Count of items from the native side. /// internal unsafe int num_items; /// /// Approximated probability (confidence value) for this transcription. /// internal unsafe double probability; } }