Oracle Coherence for C++ API
Release 3.6.1.0

E18813-01

OctetArrayReadBuffer::OctetArrayBufferInput Class Reference

#include <coherence/io/OctetArrayReadBuffer.hpp>

Inherits AbstractReadBuffer::AbstractBufferInput.

List of all members.


Detailed Description

This is an implementation of the BufferInput interface on top of a octet array.
Author:
jh 2008.01.03

Public Types

typedef spec::Handle  Handle
  OctetArrayBufferInput Handle definition.
typedef spec::View  View
  OctetArrayBufferInput View definition.
typedef spec::Holder  Holder
  OctetArrayBufferInput Holder definition.

Public Member Functions

virtual octet_t  read ()
 
virtual void  read (Array< octet_t >::Handle hab, size32_t of, size32_t cb)
 
virtual char16_t  readChar16 ()
 
virtual int16_t  readInt16 ()
 
virtual int32_t  readInt32 ()
 
virtual int64_t  readInt64 ()
 
virtual float32_t  readFloat32 ()
 
virtual float64_t  readFloat64 ()
 

Protected Member Functions

  OctetArrayBufferInput (OctetArrayReadBuffer::View vBuf)
  Create a new OctetArrayBufferInput instance that delegates to the given OctetArrayReadBuffer.
virtual String::View  convertUTF (size32_t of, size32_t cb) const
  Convert a UTF-8 encoded section of the binary stream into a String.
Parameters:
of  the offset within the stream
cb  the length in bytes within the stream
Returns:
the String value
Exceptions:
IOException  on convertion error


Constructor & Destructor Documentation

OctetArrayBufferInput ( OctetArrayReadBuffer::View  vBuf  )  [protected]

Create a new OctetArrayBufferInput instance that delegates to the given OctetArrayReadBuffer.

Parameters:
vBuf  the delegate ReadBuffer

The documentation for this class was generated from the following file:
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.