`
hshqcn
  • 浏览: 25493 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

netstrings specification

阅读更多
Netstrings
D. J. Bernstein, djb@pobox.com
19970201


1. Introduction
1. 介绍

?? A netstring is a self-delimiting encoding of a string. Netstrings are
?? very easy to generate and to parse. Any string may be encoded as a
?? netstring; there are no restrictions on length or on allowed bytes.
?? Another virtue of a netstring is that it declares the string size up
?? front. Thus an application can check in advance whether it has enough
?? space to store the entire string.

?? netstring是个自定界编码方式的字符串。netstring非常易于生成和解析。
?? 任何字符串都可编码为一个netstring;对长度或允许的字节没有限制。
?? netstring的另一个优点是,它预先声明字符串的长度。
?? 这样应用能事先检查是否具有足够的空间存储整个字符串。

?? Netstrings may be used as a basic building block for reliable network
?? protocols. Most hig……
分享到:
评论

相关推荐

    CAN Specification Version 2.0

    "CAN Specification Version 2.0" CAN(Controller Area Network,控制器局域网)是一种车联网通信协议,广泛应用于汽车电子系统、工业控制系统、医疗设备等领域。下面是CAN Specification Version 2.0的详细知识点...

    sd memory specification v3.0 SDXC(Physical_Layer_Specification).pdf

    ### SD Memory Specification v3.0 – SDXC (Physical Layer Specification) #### 概述 SD Memory Specification v3.0 – SDXC (Physical Layer Specification) 文件详细介绍了第三代SD卡标准中的物理层规格,这...

    SDIO Card Specification_specification_SDIO_

    这份"SDIO Card Specification"文档详细阐述了该接口的技术细节和操作规范。 一、SDIO接口概述 SDIO接口是SD(Secure Digital)卡接口的一个扩展,旨在提供双向数据传输和额外的输入/输出功能。它在物理层上与SD卡...

    SGMII Specification V1.8

    "SGMII Specification V1.8" SGMII(Serial Gigabit Media Independent Interface)是一种数字接口,旨在满足以下要求:在10/100/1000 PHY和MAC之间传输网络数据和端口速度,同时减少信号引脚数量。在半双工和全...

    LPDDR5X Specification

    LPDDR5X Specification LPDDR5X Specification是JEDEC(Joint Electron Device Engineering Council,固态技术协会)发布的一份技术规范,用于定义低功率双数据速率5(LPDDR5)存储器的技术要求和规格。这份规范是...

    PCI Express Base Specification Revision 2.0 协议规范

    "PCI Express Base Specification Revision 2.0 协议规范" PCI Express Base Specification Revision 2.0 协议规范是PCI-SIG(Peripheral Component Interconnect Special Interest Group)发布的一份关于PCI ...

    Serial ATA Specification Revision

    Serial ATA Specification Revision 资料学习

    PCI Express M.2 Specification Revision 1.1

    PCI Express M.2 Specification Revision 1.1 PCI Express M.2 Specification Revision 1.1是PCI-SIG(Peripheral Component Interconnect Special Interest Group)发布的一份官方规范文档,详细介绍了PCI-e M.2...

    PCI_Express_M.2_Specification_Rev1.1

    "PCI Express M.2 Specification Revision 1.1" PCI Express M.2 Specification Revision 1.1是一份关于M.2规范的官方文档,该文档由PCI-SIG组织发布,旨在提供M.2接口的详细规范和技术要求。 PCI-SIG组织 PCI-...

    PMBus1.3 Specification规范

    PMBus1.3 Specification规范,分...PMBus™ Power System Management Protocol Specification Part I – General Requirements,Transport And Electrical Interface Part II – Command Language Part III – AVSBus

    PCI Express Specification 1.0

    ### PCI Express Specification 1.0 关键知识点解析 #### 标题:PCI Express Specification 1.0 **PCI Express (PCIe)** 是一种高速串行计算机扩展总线标准,旨在替代传统的并行架构,如 PCI 和 AGP。PCI Express ...

    HDMI2.0 Specification

    "HDMI 2.0 Specification" HDMI 2.0 Specification是High-Definition Multimedia Interface(高清多媒体接口)的规范文档, 由HDMI Forum发布。该规范定义了HDMI 2.0的技术规格、接口协议、信号传输格式、显示设备...

    UML EA Specification Manager

    ### UML EA Specification Manager 在开发模型的过程中,Sparx Systems Enterprise Architect 提供了一系列工具来创建模型规格。其中,Specification Manager 是一个强大的功能,它允许用户以文本形式定义模型元素...

    OPC Unified Architecture Specification

    OPC UA Part 1 - Concepts 1.00 Specification.pdf OPC UA Part 10 - Programs RC1.00 Specification.pdf OPC UA Part 2 - Security Model 1.00 Specification.pdf OPC UA Part 3 - Address Space Model 1.00 ...

    PCI Firmware Specification 3.0.pdf

    PCI Firmware Specification 3.0 是一个关键的技术文档,定义了PCI设备与系统固件之间的交互规则和协议。这份规范对于硬件开发者、驱动程序编写者以及系统集成人员来说具有极高的价值。 PCI Firmware Specification...

    MIPI_Specification for System Power Management Interface_V2.0

    This document is a Draft MIPI Specification. MIPI member companies’ rights and obligations apply to this Draft MIPI Specification as defined in the MIPI Membership Agreement and MIPI Bylaws. An ...

    CSharp Language Specification C# 5.0高清中文版

    CSharp Language Specification C# 5.0高清中文版 PDF+WORD

    NFC Forum Analog Technical Specification Version 2.0

    NFC Forum Analog Technical Specification Version 2.0标准文本

    CISCO USXGMII Specification Multi Port Rev2.16

    CISCO USXGMII Specification Multi Port Rev2.16 CISCO USXGMII Specification Multi Port Rev2.16 是一份规范文档,详细介绍了 Universal SXGMII PHY-MAC Interface 的多端口实现方法。该规范旨在满足以下要求: ...

Global site tag (gtag.js) - Google Analytics