lnobad / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

Rename bool Read*(out...) functions to bool TryRead*(out...) #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This patch brings the "bool Read*(out...)" in line with the naming convention 
of .NET. It also avoids a (non-CLR compliant) naming clash between ReadByte(out 
byte...) and ReadByte(byte...).

Original issue reported on code.google.com by mark.jun...@gmail.com on 23 Jan 2012 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago
Try* indicates to me that it will not throw an exception on failure; this is 
not the case for Read*(out...) - I will keep the current naming for now.

Original comment by lidg...@gmail.com on 1 Mar 2012 at 7:13