On Wed, 2022-09-21 at 19:30 -0500, robert engels wrote:
> Others have suggested passing a ByteBuffer - I don’t think that will
> work because you will be missing other methods that are probably
> needed (FileInfo to get the name, etc)

The function that was pointed to takes an ~io.ReadSeeker (oddly a
pointer to the interface) and doesn't look like it expects to
conditionally use other methods. The other details can always be
obtained from the original value.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f6d47a3fe5ae4425b51f978d8a5cda71aaa55cf3.camel%40kortschak.io.

Reply via email to