blob: 907c3d4ec91fcfad24c1c70490f00de04e87c781 (
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
32
33
34
35
36
37
38
39
40
41
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_io_ByteArrayOutputStream__
#define __java_io_ByteArrayOutputStream__
#pragma interface
#include <java/io/OutputStream.h>
#include <gcj/array.h>
class java::io::ByteArrayOutputStream : public ::java::io::OutputStream
{
public:
ByteArrayOutputStream();
ByteArrayOutputStream(jint);
virtual void reset();
virtual jint size();
virtual JArray< jbyte > * toByteArray();
virtual ::java::lang::String * toString();
virtual ::java::lang::String * toString(::java::lang::String *);
virtual ::java::lang::String * toString(jint);
private:
void resize(jint);
public:
virtual void write(jint);
virtual void write(JArray< jbyte > *, jint, jint);
virtual void writeTo(::java::io::OutputStream *);
public: // actually protected
JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::io::OutputStream)))) buf;
jint count;
private:
static const jint DEFAULT_INITIAL_BUFFER_SIZE = 32;
static jint initial_buffer_size;
public:
static ::java::lang::Class class$;
};
#endif // __java_io_ByteArrayOutputStream__
|