summaryrefslogtreecommitdiff
path: root/libjava/java/io/BufferedOutputStream.h
blob: ce34567c61b678e11be6e4a3a4ab5c999a5f75b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_io_BufferedOutputStream__
#define __java_io_BufferedOutputStream__

#pragma interface

#include <java/io/FilterOutputStream.h>
#include <gcj/array.h>


class java::io::BufferedOutputStream : public ::java::io::FilterOutputStream
{

public:
  BufferedOutputStream(::java::io::OutputStream *);
  BufferedOutputStream(::java::io::OutputStream *, jint);
  virtual void flush();
  virtual void write(jint);
  virtual void write(JArray< jbyte > *, jint, jint);
private:
  static const jint DEFAULT_BUFFER_SIZE = 512;
public: // actually protected
  JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::FilterOutputStream)))) buf;
  jint count;
public:
  static ::java::lang::Class class$;
};

#endif // __java_io_BufferedOutputStream__