YANG内置类型集--Integer Type

YANG内置类型集(Built-In Types)

类型名描述
binary任意二进制数据
bits比特位或标志位集
booleantrue或者false
decimal6464比特带符号十进制数
empty无任何值的叶节点
enumeration枚举类型
identityref抽象标识的引用
instance-identifier数据树节点的引用
int88位带符号整数
int1616位带符号整数
int3232位带符号整数
int6464位带符号整数
uint88位无符号整数
uint1616位无符号整数
uint3232位无符号整数
uint6464位无符号整数
leafref叶子实例的引用
string字符串
union联合体
Range of Integer Type

The integer built-in types are int8, int16, int32, int64, uint8,uint16, uint32, and uint64. They represent signed and unsigned integers of different sizes:

  • int8 represents integer values between -128 and 127, inclusively.

  • int16 represents integer values between -32768 and 32767,inclusively.

  • int32 represents integer values between -2147483648 and 2147483647,inclusively.

  • int64 represents integer values between -9223372036854775808 and 9223372036854775807,inclusively.

  • uint8 represents integer values between 0 and 255, inclusively.

  • uint16 represents integer values between 0 and 65535, inclusively.

  • uint32 represents integer values between 0 and 4294967295, inclusively.

  • uint64 represents integer values between 0 and 18446744073709551615,inclusively.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值