[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Cstruct.shift_left
is there a reason this has signature val shift_left : buf -> int -> bool ...with the bool indicating whether it worked (true) or not (false); rather than val shift_left : buf -> int -> buf ...with exception raised when it fails? (i seem to be doing a lot of shift_lefting in DNS, and it's a bit fiddly - i'm wrapping it up but wondered if i was missing something.) -- Cheers, R. This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |