omnip620 / node-zookeeper-dubbo

A middleware helps node to communicate dubbo by using its default protocol, which is registered in zookeeper
300 stars 80 forks source link

判断为空的问题 #16

Closed bingo-xie closed 8 years ago

bingo-xie commented 8 years ago

if (heap[15] === 3 && heap.length < 20) { // 判断是否没有返回值 不能捕获到为空的情况

omnip620 commented 8 years ago

捕获不到为空是怎么说 java返回的是null?

bingo-xie commented 8 years ago

他没有返回值,方法定义返回void : buffer为: da bb 02 14 00 00 00 00 00 00 00 00 00 00 00 01 92

omnip620 commented 8 years ago

试下2.1.0版本的行不

bingo-xie commented 8 years ago

可以的!