sdk-java
Toggle table of contents
2.9.4
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
sdk-java
common
/
dev.restate.common
/
Slice
/
wrap
wrap
open
fun
wrap
(
byteBuffer
:
ByteBuffer
)
:
Slice
Wrap a
ByteBuffer
. This will not copy the buffer.
open
fun
wrap
(
bytes
:
Array
<
Byte
>
)
:
Slice
open
fun
wrap
(
str
:
String
)
:
Slice