src/EbmlElement.cpp File Reference

#include <cassert>
#include <cstring>
#include "ebml/EbmlElement.h"
#include "EbmlTypes.h"
#include "EbmlId.h"
#include "IOCallback.h"
#include <string>
#include <vector>
#include "EbmlElement.h"
#include "EbmlCrc32.h"
#include "ebml/EbmlVoid.h"
#include "ebml/EbmlDummy.h"
#include "ebml/EbmlContexts.h"
Include dependency graph for EbmlElement.cpp:
This graph shows which files directly or indirectly include this file:

Functions

START_LIBEBML_NAMESPACE int CodedSizeLength (uint64 Length, unsigned int SizeLength, bool bSizeFinite)
 The size of the EBML-coded length.
int CodedSizeLengthSigned (int64 Length, unsigned int SizeLength)
 The size of the EBML-coded signed length.
int CodedValueLength (uint64 Length, int CodedSize, binary *OutBuffer)
 The coded value of the EBML-coded length.
int CodedValueLengthSigned (int64 Length, int CodedSize, binary *OutBuffer)
 The coded value of the EBML-coded signed length.
uint64 ReadCodedSizeValue (const binary *InBuffer, uint32 &BufferSize, uint64 &SizeUnknown)
 Read an EBML-coded value from a buffer.
int64 ReadCodedSizeSignedValue (const binary *InBuffer, uint32 &BufferSize, uint64 &SizeUnknown)
 Read a signed EBML-coded value from a buffer.

Detailed Description

Version:
$Id: EbmlElement.cpp 280 2010-05-27 15:52:47Z robux4 $
Author:
Steve Lhomme <robux4 @ users.sf.net>

Function Documentation

START_LIBEBML_NAMESPACE int CodedSizeLength ( uint64  Length,
unsigned int  SizeLength,
bool  bSizeFinite 
)

The size of the EBML-coded length.

Todo:
handle more than CodedSize of 5
int CodedSizeLengthSigned ( int64  Length,
unsigned int  SizeLength 
)

The size of the EBML-coded signed length.

Todo:
handle more than CodedSize of 5
int CodedValueLength ( uint64  Length,
int  CodedSize,
binary *  OutBuffer 
)

The coded value of the EBML-coded length.

Note:
The size of OutBuffer must be 8 octets at least
int CodedValueLengthSigned ( int64  Length,
int  CodedSize,
binary *  OutBuffer 
)

The coded value of the EBML-coded signed length.

Note:
the size of OutBuffer must be 8 octets at least
int64 ReadCodedSizeSignedValue ( const binary *  InBuffer,
uint32 &  BufferSize,
uint64 &  SizeUnknown 
)

Read a signed EBML-coded value from a buffer.

Returns:
the value read
uint64 ReadCodedSizeValue ( const binary *  InBuffer,
uint32 &  BufferSize,
uint64 &  SizeUnknown 
)

Read an EBML-coded value from a buffer.

Returns:
the value read
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Jun 8 11:06:03 2010 for libebml by  doxygen 1.6.3