OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [io/] [ByteArrayOutputStream.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_io_ByteArrayOutputStream__
5
#define __java_io_ByteArrayOutputStream__
6
 
7
#pragma interface
8
 
9
#include <java/io/OutputStream.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::io::ByteArrayOutputStream : public ::java::io::OutputStream
14
{
15
 
16
public:
17
  ByteArrayOutputStream();
18
  ByteArrayOutputStream(jint);
19
  virtual void reset();
20
  virtual jint size();
21
  virtual JArray< jbyte > * toByteArray();
22
  virtual ::java::lang::String * toString();
23
  virtual ::java::lang::String * toString(::java::lang::String *);
24
  virtual ::java::lang::String * toString(jint);
25
private:
26
  void resize(jint);
27
public:
28
  virtual void write(jint);
29
  virtual void write(JArray< jbyte > *, jint, jint);
30
  virtual void writeTo(::java::io::OutputStream *);
31
public: // actually protected
32
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) buf;
33
  jint count;
34
private:
35
  static const jint DEFAULT_INITIAL_BUFFER_SIZE = 32;
36
  static jint initial_buffer_size;
37
public:
38
  static ::java::lang::Class class$;
39
};
40
 
41
#endif // __java_io_ByteArrayOutputStream__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.