Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47891-01

AbstractOctetArrayReadBuffer::OctetArrayBufferInput Class Reference

#include <coherence/io/AbstractOctetArrayReadBuffer.hpp>

Inherits AbstractReadBuffer::AbstractBufferInput.

List of all members.


Detailed Description

This is an implementation of the BufferInput interface on top of an octet array.

Author:
jh 2008.01.03

phf 2011.03.22


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 (AbstractOctetArrayReadBuffer::View vBuf)
 Create a new OctetArrayBufferInput instance that delegates to the given AbstractOctetArrayReadBuffer.
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


Protected Attributes

FinalView
< AbstractOctetArrayReadBuffer
f_vBuf
 The delegate read buffer.
FinalView< Array
< octet_t > > 
f_vab
 The delegate's octet array that holds the binary data.

Constructor & Destructor Documentation

OctetArrayBufferInput ( AbstractOctetArrayReadBuffer::View  vBuf  )  [protected]

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

Parameters:
vBuf the delegate ReadBuffer


Member Data Documentation

FinalView<Array<octet_t> > f_vab [protected]

The delegate's octet array that holds the binary data.

This value should not be changed.


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