public class

BinaryStreamImpl

extends ByteArrayInputStream
implements BinaryStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ java.io.ByteArrayInputStream
       ↳ org.hibernate.type.descriptor.java.BinaryStreamImpl

Class Overview

Implementation of BinaryStream

Summary

[Expand]
Inherited Fields
From class java.io.ByteArrayInputStream
Public Constructors
BinaryStreamImpl(byte[] bytes)
Public Methods
byte[] getBytes()
Access to the bytes.
InputStream getInputStream()
Retrieve the input stream.
int getLength()
Retrieve the length of the input stream
[Expand]
Inherited Methods
From class java.io.ByteArrayInputStream
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable
From interface org.hibernate.type.descriptor.BinaryStream

Public Constructors

public BinaryStreamImpl (byte[] bytes)

Public Methods

public byte[] getBytes ()

Access to the bytes.

Returns
  • The bytes.

public InputStream getInputStream ()

Retrieve the input stream.

Returns
  • The input stream

public int getLength ()

Retrieve the length of the input stream

Returns
  • The input stream length