# File lib/dnsruby/resource/NSEC3.rb, line 204
      def hash_length=(l)
        if (l < 0) || (l > 255)
          raise DecodeError.new("NSEC3 hash length must be between 0 and 255 but was #{l}")
        end
        @hash_length = l
      end