zeroshade commented on code in PR #1047:
URL: https://github.com/apache/arrow-go/pull/1047#discussion_r3722685430
##########
arrow/ipc/writer.go:
##########
@@ -62,6 +62,11 @@ func (w *streamWriter) Write(p []byte) (int, error) {
return n, err
}
+func writeFull(w io.Writer, p []byte) error {
+ _, err := w.Write(p)
+ return err
+}
Review Comment:
at this point why even have the `writeFull` function instead of just putting
everything back to being `_, err = w.Write(paddingBytes[:padding])` etc.?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]