Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

16.3. Binary Message Format

Transports, such as TCP, that require a compact representation for a message will use the binary format.

16.3.1. Conventions

Multibyte lengths are sent with the high-order byte first (also known as "big endian" or "network byte order"). All strings start with a 2-byte length, followed by the UTF-8 string value.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint