PeterO.Cbor.FastInteger2.AsInt32 C# (CSharp) Метод

AsInt32() приватный Метод

private AsInt32 ( ) : int
Результат int
        internal int AsInt32()
        {
            switch (this.integerMode) {
            case 0:
              return this.smallValue;
            case 1:
              return this.mnum.ToInt32();
            case 2:
              return (int)this.largeValue;
            default: throw new InvalidOperationException();
              }
        }