Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 571 Bytes

README.md

File metadata and controls

20 lines (10 loc) · 571 Bytes

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