|
1.
|
|
|
Banana Protocol Specifications
|
|
|
type: Content of: <html><body><h1>
|
|
|
|
बनाना प्रोटोकॉल निर्दिष्टीकरण
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:7 specifications/banana.xhtml:11
|
|
2.
|
|
|
Introduction
|
|
|
type: Content of: <html><body><h2>
|
|
|
|
परिचय
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:13 howto/options.xhtml:13 howto/application.xhtml:13 howto/tutorial/library.xhtml:11 howto/tutorial/intro.xhtml:11 howto/tutorial/protocol.xhtml:11 howto/tutorial/pb.xhtml:11 howto/tutorial/components.xhtml:11 howto/tutorial/configuration.xhtml:11 howto/tutorial/index.xhtml:11 howto/tutorial/style.xhtml:11 howto/tutorial/web.xhtml:11 howto/tutorial/client.xhtml:11 howto/tutorial/factory.xhtml:13 howto/tutorial/backends.xhtml:11 howto/index.xhtml:16 howto/deferredindepth.xhtml:10 howto/pb-intro.xhtml:10
|
|
3.
|
|
|
Banana is an efficient, extendable protocol for sending and receiving s-expressions. A s-expression in this context is a list composed of byte strings, integers, large integers, floats and/or s-expressions.
|
|
|
type: Content of: <html><body><p>
|
|
|
|
बनाना एक कुशल, भेजने और प्राप्त एस अभिव्यक्ति के लिए बढ़ाई प्रोटोकॉल है. इस संदर्भ में है अभिव्यक्ति एक बाइट तार, integers, बड़े integers, तैरता है और / या एस अभिव्यक्ति की रचना सूची है.
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:16
|
|
4.
|
|
|
Banana Encodings
|
|
|
type: Content of: <html><body><h2>
|
|
|
|
बनाना एन्कोडिंग
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:21
|
|
5.
|
|
|
The banana protocol is a stream of data composed of elements. Each element has the following general structure - first, the length of element encoded in base-128, least signficant bit first. For example length 4674 will be sent as <code>0x42 0x24</code>. For certain element types the length will be omitted (e.g. float) or have a different meaning (it is the actual value of integer elements).
|
|
|
type: Content of: <html><body><p>
|
|
|
|
बनाना प्रोटोकॉल डेटा की एक धारा तत्वों से बना है. पहला, तत्व की लंबाई के आधार-128, कम से कम signficant बिट में encoded 1 - प्रत्येक तत्व निम्नलिखित सामान्य संरचना है. उदाहरण के लिए 4674 लंबाई 0x24 </ code> <code> 0x42 के रूप में भेजा जाएगा.लंबाई कुछ तत्व प्रकार के लिए (जैसे फ्लोट) का लोप किया जाएगा या एक अलग अर्थ (यह पूर्णांक तत्वों की वास्तविक मूल्य है) है.
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:24
|
|
6.
|
|
|
Following the length is a delimiter byte, which tells us what kind of element this is. Depending on the element type, there will then follow the number of bytes specified in the length. The byte's high-bit will always be set, so that we can differentiate between it and the length (since the length bytes use 128-base, their high bit will never be set).
|
|
|
type: Content of: <html><body><p>
|
|
|
|
लंबाई के बाद एक सीमांकक बाइट, जो हमें बताता है इस तत्व की किस तरह है. तत्व प्रकार पर निर्भर करता है, तो लंबाई में निर्दिष्ट बाइट्स की संख्या का पालन करेंगे. बाइट उच्च बिट हमेशा सेट हो जाएगा, इतना है कि हम इसे और लंबाई (के बाद लंबाई बाइट्स 128 आधार का उपयोग करें, अपने उच्च बिट सेट किया जा कभी नहीं होगा) के बीच अंतर कर सकते हैं.
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:32
|
|
7.
|
|
|
Element Types
|
|
|
type: Content of: <html><body><h2>
|
|
|
|
तत्व प्रकार
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:39
|
|
8.
|
|
|
Given a series of bytes that gave us length N, these are the different delimiter bytes:
|
|
|
type: Content of: <html><body><p>
|
|
|
|
कि हमें लंबाई एन दिया बाइट्स की एक श्रृंखला को देखते हुए, इन अलग सीमांकक बाइट्स हैं:
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:42
|
|
9.
|
|
|
List -- 0x80
|
|
|
type: Content of: <html><body><dl><dt>
|
|
|
|
सूची - 0x80
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:46
|
|
10.
|
|
|
The following bytes are a list of N elements. Lists may be nested, and a child list counts as only one element to its parent (regardless of how many elements the child list contains).
|
|
|
type: Content of: <html><body><dl><dd>
|
|
|
|
निम्नलिखित बाइट्स एन तत्वों की एक सूची है. सूचियाँ, नीडिंत किया जा सकता है और एक बच्चे की सूची में अपने माता पिता के लिए केवल एक ही तत्व (चाहे कितने तत्वों बच्चे की सूची में शामिल है) के रूप में गिना जाता है.
|
|
Translated and reviewed by
Abdul Rauf
|
|
|
|
Located in
specifications/banana.xhtml:48
|