io
Module Contents
alltypes
Module Contents
class
Base32
Module Contents
static
fun
decode
(
b32
:
String
)
:
Bytes
static
fun
decodeBytes
(
b32
:
String
)
:
ByteArray
static
fun
encode
(
bytes
:
Bytes
)
:
String
static
fun
encodeBytes
(
bytes
:
ByteArray
)
:
String
class
Base64
Module Contents
static
fun
decode
(
b64
:
String
)
:
Bytes
static
fun
decodeBytes
(
b64
:
String
)
:
ByteArray
static
fun
encode
(
bytes
:
Bytes
)
:
String
static
fun
encodeBytes
(
bytes
:
ByteArray
)
:
String
class
Base64URLSafe
Module Contents
static
fun
decode
(
b64
:
String
)
:
Bytes
static
fun
decodeBytes
(
b64
:
String
)
:
ByteArray
static
fun
encode
(
bytes
:
Bytes
)
:
String
static
fun
encodeBytes
(
bytes
:
ByteArray
)
:
String
class
Files
Module Contents
static
fun
atomicReplace
(
path
:
Path
,
bytes
:
ByteArray
)
:
Unit
static
fun
atomicReplace
(
path
:
Path
,
fn
:
IOConsumer
<
Writer
>
)
:
Unit
static
fun
atomicReplace
(
path
:
Path
,
charset
:
Charset
,
fn
:
IOConsumer
<
Writer
>
)
:
Unit
static
fun
copyResource
(
resourceName
:
String
,
destination
:
Path
,
vararg
options
:
OpenOption
)
:
Path
static
fun
copyResource
(
resourceName
:
String
,
out
:
OutputStream
)
:
Long
static
fun
createFileIfMissing
(
path
:
Path
,
vararg
attrs
:
FileAttribute
<
*
>
)
:
Boolean
static
fun
deleteRecursively
(
directory
:
Path
)
:
Unit
@FunctionalInterface
interface
IOConsumer
<
T
:
Any
>
Module Contents
abstract
fun
accept
(
t
:
T
)
:
Unit
class
Resources
Module Contents
@MustBeClosed
static
fun
find
(
glob
:
String
)
:
Stream
<
URL
>
@MustBeClosed
static
fun
find
(
@Nullable
classLoader
:
ClassLoader
?
,
glob
:
String
)
:
Stream
<
URL
>
class
Streams
Module Contents
static
fun
<
T
:
Any
>
enumerationStream
(
enumeration
:
Enumeration
<
T
>
)
:
Stream
<
T
>
static
fun
nullOutputStream
(
)
:
OutputStream
static
fun
nullPrintStream
(
)
:
PrintStream
package
org.apache.tuweni.io
Module Contents
class
Base32
Module Contents
static
fun
decode
(
b32
:
String
)
:
Bytes
static
fun
decodeBytes
(
b32
:
String
)
:
ByteArray
static
fun
encode
(
bytes
:
Bytes
)
:
String
static
fun
encodeBytes
(
bytes
:
ByteArray
)
:
String
class
Base64
Module Contents
static
fun
decode
(
b64
:
String
)
:
Bytes
static
fun
decodeBytes
(
b64
:
String
)
:
ByteArray
static
fun
encode
(
bytes
:
Bytes
)
:
String
static
fun
encodeBytes
(
bytes
:
ByteArray
)
:
String
class
Base64URLSafe
Module Contents
static
fun
decode
(
b64
:
String
)
:
Bytes
static
fun
decodeBytes
(
b64
:
String
)
:
ByteArray
static
fun
encode
(
bytes
:
Bytes
)
:
String
static
fun
encodeBytes
(
bytes
:
ByteArray
)
:
String
@FunctionalInterface
interface
IOConsumer
<
T
:
Any
>
Module Contents
abstract
fun
accept
(
t
:
T
)
:
Unit
class
Resources
Module Contents
@MustBeClosed
static
fun
find
(
glob
:
String
)
:
Stream
<
URL
>
@MustBeClosed
static
fun
find
(
@Nullable
classLoader
:
ClassLoader
?
,
glob
:
String
)
:
Stream
<
URL
>
class
Streams
Module Contents
static
fun
<
T
:
Any
>
enumerationStream
(
enumeration
:
Enumeration
<
T
>
)
:
Stream
<
T
>
static
fun
nullOutputStream
(
)
:
OutputStream
static
fun
nullPrintStream
(
)
:
PrintStream
package
org.apache.tuweni.io.file
Module Contents
class
Files
Module Contents
static
fun
atomicReplace
(
path
:
Path
,
bytes
:
ByteArray
)
:
Unit
static
fun
atomicReplace
(
path
:
Path
,
fn
:
IOConsumer
<
Writer
>
)
:
Unit
static
fun
atomicReplace
(
path
:
Path
,
charset
:
Charset
,
fn
:
IOConsumer
<
Writer
>
)
:
Unit
static
fun
copyResource
(
resourceName
:
String
,
destination
:
Path
,
vararg
options
:
OpenOption
)
:
Path
static
fun
copyResource
(
resourceName
:
String
,
out
:
OutputStream
)
:
Long
static
fun
createFileIfMissing
(
path
:
Path
,
vararg
attrs
:
FileAttribute
<
*
>
)
:
Boolean
static
fun
deleteRecursively
(
directory
:
Path
)
:
Unit