Example #1
0
File: file.cs Project: zjmit/go2cs
 // FileConn returns a copy of the network connection corresponding to
 // the open file f.
 // It is the caller's responsibility to close f when finished.
 // Closing c does not affect f, and closing f does not affect c.
 public static (Conn, error) FileConn(ptr <os.File> _addr_f)
 {
     Conn        c   = default;
     error       err = default !;
Example #2
0
 private static (Conn, error) fileConn(ptr <os.File> _addr_f)
 {
     Conn        _p0 = default;
     error       _p0 = default !;