/// <summary>
        /// Sets the data stream for the variable length record as an array of bytes
        /// </summary>
        /// <param name="data">array of bytes</param>
        public void SetData(ref byte[] data)
        {
            UInt16   lenght = (UInt16)data.Length;
            LASError error  = CAPI.LASVLR_SetData(hvlrh, ref data, lenght);

            if ((Int32)error != 0)
            {
                LASException e = new LASException("Exception in VLR SetData.");
                throw e;
            }
        }