Example #1
0
        /// <inheritdoc cref="GetByteList(string)"/>
        public IList <byte> GetByteList(HoconPath path)
        {
            HoconValue value = GetNode(path);

            if (ReferenceEquals(value, HoconValue.Undefined))
            {
                throw new HoconParserException($"Hocon path {path} was not an array.");
            }

            return(value.GetByteList());
        }