code: function AionLong (n) {
    'use strict'
  
    const _this = this
  
    if (!(_this instanceof AionLong)) {
      // allow constructor call without new
      return new AionLong(n)
    }
  
    if (n === null || typeof n === 'undefined' || !('toArray' in n)) {
      throw new Error('unsupported input type')
    }
  
    if (new BN(n.toArray()).cmp(JAVA_LONG_MAX) > 0) {
      throw new Error('violated upper bound')
    }
  
    this.buf = n.toArray()
  }
docs: * --- AION LONG ---