forked from swiftlang/swift-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBufferedInputStream.swift
More file actions
111 lines (100 loc) · 2.68 KB
/
BufferedInputStream.swift
File metadata and controls
111 lines (100 loc) · 2.68 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
// Auto-generated by Java-to-Swift wrapper generator.
import CSwiftJavaJNI
import SwiftJava
@JavaClass("java.io.BufferedInputStream")
open class BufferedInputStream: InputStream {
@JavaMethod
@_nonoverride public convenience init(_ arg0: InputStream?, environment: JNIEnvironment? = nil)
@JavaMethod
@_nonoverride public convenience init(_ arg0: InputStream?, _ arg1: Int32, environment: JNIEnvironment? = nil)
/**
* Java method `reset`.
*
* ### Java method signature
* ```java
* public synchronized void java.io.BufferedInputStream.reset() throws java.io.IOException
* ```
*/
@JavaMethod
open override func reset() throws
/**
* Java method `close`.
*
* ### Java method signature
* ```java
* public void java.io.BufferedInputStream.close() throws java.io.IOException
* ```
*/
@JavaMethod
open override func close() throws
/**
* Java method `mark`.
*
* ### Java method signature
* ```java
* public synchronized void java.io.BufferedInputStream.mark(int)
* ```
*/
@JavaMethod
open override func mark(_ arg0: Int32)
/**
* Java method `read`.
*
* ### Java method signature
* ```java
* public synchronized int java.io.BufferedInputStream.read(byte[],int,int) throws java.io.IOException
* ```
*/
@JavaMethod
open override func read(_ arg0: [Int8], _ arg1: Int32, _ arg2: Int32) throws -> Int32
/**
* Java method `read`.
*
* ### Java method signature
* ```java
* public synchronized int java.io.BufferedInputStream.read() throws java.io.IOException
* ```
*/
@JavaMethod
open override func read() throws -> Int32
/**
* Java method `transferTo`.
*
* ### Java method signature
* ```java
* public synchronized long java.io.BufferedInputStream.transferTo(java.io.OutputStream) throws java.io.IOException
* ```
*/
@JavaMethod
open override func transferTo(_ arg0: OutputStream?) throws -> Int64
/**
* Java method `skip`.
*
* ### Java method signature
* ```java
* public synchronized long java.io.BufferedInputStream.skip(long) throws java.io.IOException
* ```
*/
@JavaMethod
open override func skip(_ arg0: Int64) throws -> Int64
/**
* Java method `available`.
*
* ### Java method signature
* ```java
* public synchronized int java.io.BufferedInputStream.available() throws java.io.IOException
* ```
*/
@JavaMethod
open override func available() throws -> Int32
/**
* Java method `markSupported`.
*
* ### Java method signature
* ```java
* public boolean java.io.BufferedInputStream.markSupported()
* ```
*/
@JavaMethod
open override func markSupported() -> Bool
}