diff --git a/connection.go b/connection.go index 005d734..56154a7 100644 --- a/connection.go +++ b/connection.go @@ -46,5 +46,5 @@ type Trans interface { Receive() (method uint16, data []byte, err error) // ReceiveReader receives a message as an [io.Reader]. Any reader // previously opened through this function will be discarded. - ReceiveReader() (method uint16, size int64, data io.Reader, err error) + ReceiveReader() (method uint16, data io.Reader, err error) }