Ruoska Encoding
draft-ruoska-encoding-04

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2013-03-21
Stream ISE
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream ISE state Submission Received
Consensus Boilerplate Unknown
Document shepherd None
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                         JP. Makela
Internet-Draft                                            March 21, 2013
Intended status: Experimental
Expires: September 22, 2013

                            Ruoska Encoding
                        draft-ruoska-encoding-04

Abstract

   This document describes hierarchically structured binary encoding
   format called the Ruoska Encoding (RSK).  The main design goals are
   minimal resource usage, well defined structured with good selection
   of widely known data types, and still extendable for future usage.

   The main benefit when compared to non binary hierarchically
   structured formats like XML is simplicity and minimal resource
   demands.  Even basic XML parsing is time and memory consuming
   operation.

   When compared to other binary formats like encoding formats of ASN.1
   the main benefit is simplicity.  ASN.1 with different encondings is
   complex and even simple implementation needs a lot of effort.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on September 22, 2013.

Copyright Notice

   Copyright (c) 2013 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal

Makela                 Expires September 22, 2013               [Page 1]
Internet-Draft               Ruoska Encoding                  March 2013

   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Document Structure . . . . . . . . . . . . . . . . . . . . . .  4
     2.1.  Endianness . . . . . . . . . . . . . . . . . . . . . . . .  5
     2.2.  String Encoding  . . . . . . . . . . . . . . . . . . . . .  5
   3.  Frame  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  6
     3.1.  Leading Byte . . . . . . . . . . . . . . . . . . . . . . .  6
     3.2.  Meta Frames  . . . . . . . . . . . . . . . . . . . . . . .  7
       3.2.1.  Begin Frame  . . . . . . . . . . . . . . . . . . . . .  7
       3.2.2.  End Frame  . . . . . . . . . . . . . . . . . . . . . .  7
       3.2.3.  Modifier Frame . . . . . . . . . . . . . . . . . . . .  8
       3.2.4.  Array Frame  . . . . . . . . . . . . . . . . . . . . .  9
     3.3.  Data Frames  . . . . . . . . . . . . . . . . . . . . . . . 10
       3.3.1.  Boolean Frame  . . . . . . . . . . . . . . . . . . . . 10
       3.3.2.  Integer Frames . . . . . . . . . . . . . . . . . . . . 10
       3.3.3.  Float Frames . . . . . . . . . . . . . . . . . . . . . 11
       3.3.4.  String Frame . . . . . . . . . . . . . . . . . . . . . 12
       3.3.5.  Binary Frame . . . . . . . . . . . . . . . . . . . . . 12
       3.3.6.  DateTime Frame . . . . . . . . . . . . . . . . . . . . 13
       3.3.7.  Timestamp Frame  . . . . . . . . . . . . . . . . . . . 14
     3.4.  Extended Frames  . . . . . . . . . . . . . . . . . . . . . 15
   4.  Identifiers  . . . . . . . . . . . . . . . . . . . . . . . . . 17
     4.1.  Identifier Types in Leading Byte . . . . . . . . . . . . . 17
     4.2.  Null Identifier  . . . . . . . . . . . . . . . . . . . . . 17
     4.3.  Integer Identifiers  . . . . . . . . . . . . . . . . . . . 18
     4.4.  String Identifier  . . . . . . . . . . . . . . . . . . . . 18
   5.  Implementation Notes . . . . . . . . . . . . . . . . . . . . . 19
     5.1.  Minimal Requirements . . . . . . . . . . . . . . . . . . . 19
     5.2.  Forward Compatibility  . . . . . . . . . . . . . . . . . . 19
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . . 20
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 21
   8.  Normative References . . . . . . . . . . . . . . . . . . . . . 22
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 23

Makela                 Expires September 22, 2013               [Page 2]
Show full document text