From 9d2bbec7f9cb6c0db221499e5b3f06cd72f91c31 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 25 Apr 2025 18:14:47 -0400 Subject: [PATCH] Update METADAPT-A implementation --- metadapta.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadapta.go b/metadapta.go index 03bef8e..55f1c0c 100644 --- a/metadapta.go +++ b/metadapta.go @@ -194,7 +194,7 @@ func (this *transA) Send(method uint16, data []byte) error { return this.parent.sendMessageSafe(this.id, method, data) } -func (this *transA) SendWriter(method uint16) (io.Writer, error) { +func (this *transA) SendWriter(method uint16) (io.WriteCloser, error) { // close previous writer if necessary if this.currentWriter != nil { this.currentWriter.Close()