Skip to content

CDR2003/Brotorift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brotorift

Types

Base types

  • Bool: byte(1)
  • Byte: byte(1)
  • Short: byte(2)
  • Int: byte(4)
  • Long: byte(8)
  • UShort: byte(2)
  • UInt: byte(4)
  • ULong: byte(8)
  • Float: byte(4)
  • Double: byte(8)
  • String: byte(1) + byte(len)
  • DateTime: byte(4) // UTC
  • ByteBuffer: byte(1) + byte(len)
  • List: byte(4) + byte(T) * len
  • Set: byte(4) + byte(T) * len
  • Map<K, V>: byte(4) + (byte(K) + byte(V)) * len
  • Vector2: byte(Float) * 2
  • Vector3: byte(Float) * 3
  • Color: byte(Float) * 4 // RGBA

User defined types

  • Enum
  • Struct

About

Bidirectional protobuf + thrift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published