toggle menu
RootEncoder
androidJvm
switch theme
search in API
common
/
com.pedro.common.socket
/
TcpStreamSocket
Tcp
Stream
Socket
abstract
class
TcpStreamSocket
:
StreamSocket
Created by pedro on 22/9/24.
Inheritors
TcpStreamSocketImp
Members
Constructors
Tcp
Stream
Socket
Link copied to clipboard
constructor
(
)
Functions
close
Link copied to clipboard
abstract
suspend
fun
close
(
)
connect
Link copied to clipboard
abstract
suspend
fun
connect
(
)
flush
Link copied to clipboard
suspend
fun
flush
(
)
is
Connected
Link copied to clipboard
abstract
fun
isConnected
(
)
:
Boolean
is
Reachable
Link copied to clipboard
abstract
fun
isReachable
(
)
:
Boolean
read
Link copied to clipboard
suspend
fun
read
(
)
:
Int
read
Line
Link copied to clipboard
suspend
fun
readLine
(
)
:
String
?
read
UInt16
Link copied to clipboard
suspend
fun
readUInt16
(
)
:
Int
read
UInt24
Link copied to clipboard
suspend
fun
readUInt24
(
)
:
Int
read
UInt32
Link copied to clipboard
suspend
fun
readUInt32
(
)
:
Int
read
UInt32Little
Endian
Link copied to clipboard
suspend
fun
readUInt32LittleEndian
(
)
:
Int
read
Until
Link copied to clipboard
suspend
fun
readUntil
(
b
:
ByteArray
)
write
Link copied to clipboard
suspend
fun
write
(
b
:
ByteArray
)
:
Unit
?
suspend
fun
write
(
b
:
Int
)
:
Unit
?
suspend
fun
write
(
string
:
String
)
:
Unit
?
suspend
fun
write
(
b
:
ByteArray
,
offset
:
Int
,
size
:
Int
)
:
Unit
?
write
UInt16
Link copied to clipboard
suspend
fun
writeUInt16
(
b
:
Int
)
write
UInt24
Link copied to clipboard
suspend
fun
writeUInt24
(
b
:
Int
)
write
UInt32
Link copied to clipboard
suspend
fun
writeUInt32
(
b
:
Int
)
write
UInt32Little
Endian
Link copied to clipboard
suspend
fun
writeUInt32LittleEndian
(
b
:
Int
)