예제 #1
0
파일: file.cs 프로젝트: 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 !;
예제 #2
0
파일: file_stub.cs 프로젝트: zjmit/go2cs
 private static (Conn, error) fileConn(ptr <os.File> _addr_f)
 {
     Conn        _p0 = default;
     error       _p0 = default !;