Skip to content

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

Notifications You must be signed in to change notification settings

powerpeng/sproto-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%