The Conn and UDPConn Read methods look like io.Reader Read methods, but there is no explicit claim that Conn is an io.Reader. Are the Read methods of these two types identical in behaviour to io.Reader? Specifically, are the reads allowed to fill the buffer with arbitrary numbers of bytes in 0 <= len(p) <= n?
Also, can UPDConn.Read fill the buffer with more than one packet if the buffer would accommodate that? (I am guessing yes, and that if this is important then the ReadFrom method should be used). thanks Dan -- 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/1557384824.4298.19.camel%40kortschak.io. For more options, visit https://groups.google.com/d/optout.