From 81e45b37e317ac44bf1e1def1be221e48fab7f72 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Fri, 1 Aug 2025 17:07:47 +0200 Subject: comment out receiveUntil in NetworkPacketTransporter --- src/main/kotlin/NetworkPacketTransporter.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin/NetworkPacketTransporter.kt') diff --git a/src/main/kotlin/NetworkPacketTransporter.kt b/src/main/kotlin/NetworkPacketTransporter.kt index e12a6ac..eef0aea 100644 --- a/src/main/kotlin/NetworkPacketTransporter.kt +++ b/src/main/kotlin/NetworkPacketTransporter.kt @@ -48,8 +48,8 @@ abstract class NetworkPacketTransporter : Closeable { * * @throws java.io.IOException if the message could not be correctly transmitted. */ - abstract fun transmit(payload: Array) +/* /** * Receive a payload until a byte occurs, which marks the end of the message. The byte is discarded after being read * and is not returned. @@ -58,11 +58,11 @@ abstract class NetworkPacketTransporter : Closeable { * [receiveFixed] instead, which is usually more efficient. * * @param untilByte The byte that marks the end of the message. - * + * @return the received payload. * @throws java.io.IOException if the message could not be correctly received. */ - abstract fun receiveUntil(untilByte: Byte): List - + abstract fun receiveUntil(untilByte: UByte): Array +*/ /** * Receive a payload with fixed length. If zero, nothing is read. * -- cgit v1.2.3