/sproto-js

sproto的js版本,兼容当前最新sproto生成的spb文件

Primary LanguageJavaScript

sprotojs

use sproto in javascript, you can find example in test.js, protocol.spb is generate by proto/*.sproto

Support Types

  • string : string
  • binary : binary string (it's a sub type of string)
  • integer : integer, the max length of an integer is signed 52bit [the IEEE 754 standard]. It can be a fixed-point number with specified precision.
  • double : double precision floating-point number, satisfy the IEEE 754 standard.
  • boolean : true or false