Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

EndianReader Class Reference

Inheritance diagram for EndianReader:

Reader List of all members.

Public Member Functions

 this (IBuffer buffer)
uint bits16 (void *dst, uint count)
uint bits32 (void *dst, uint count)
uint bits64 (void *dst, uint count)
uint bits80 (void *dst, uint count)

Private Member Functions

 this (IConduit conduit)
uint read (void *dst, uint count)

Detailed Description

A pair of classes to handle byte-swapping for integral types. The basic EndianReader is transparent, whilst EndianReaderSwap is not.

Use the static create() method to construct the appropriate reader.

Definition at line 54 of file EndianReader.d.


Member Function Documentation

this IBuffer  buffer  )  [inline]
 

Construct EndianReader upon the given IBuffer.

Reimplemented from Reader.

Definition at line 62 of file EndianReader.d.

References bits16(), bits32(), bits64(), and bits80().

uint bits16 void *  dst,
uint  count
[inline]
 

Definition at line 86 of file EndianReader.d.

References Reader::read().

Referenced by this().

uint bits32 void *  dst,
uint  count
[inline]
 

Definition at line 97 of file EndianReader.d.

References Reader::read().

Referenced by this().

uint bits64 void *  dst,
uint  count
[inline]
 

Definition at line 108 of file EndianReader.d.

References Reader::read().

Referenced by this().

uint bits80 void *  dst,
uint  count
[inline]
 

Definition at line 119 of file EndianReader.d.

References Reader::read().

Referenced by this().

this IConduit  conduit  )  [inline, inherited]
 

Construct a reader on the buffer belonging to the given conduit.

Definition at line 129 of file Reader.d.

uint read void *  dst,
uint  count
[inline, inherited]
 

Definition at line 138 of file Reader.d.

References IBuffer::get(), and IBuffer::readable().

Referenced by bits16(), bits32(), bits64(), and bits80().


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 00:31:08 2005 for Mango by doxygen 1.3.6