Пример #1
0
        /// <summary>
        /// Sets the key's value in bytes.
        /// </summary>
        /// <param name="newBytes">The new bytes.</param>
        public void AsBytes(byte[] newBytes)
        {
            AssertTypeSafe(GribValueType.Bytes);

            SizeT sz = (SizeT)newBytes.Length;

            GribApiProxy.GribSetBytes(_handle, Key, newBytes, ref sz);
        }