寻找一个无符号128bit的整数数据类型,为.NET Framework [英] Looking for a unsigned 128bit Integer Datatype for the .net Framework
问题描述
可能重复:
Int128在.net中?
为我工作的,其管理IP设备,我想向IPv6的支持添加到它的工具,我在寻找一个128位无符号整数数据类型的.NET做基本的IP相关计算(子网划分,列出所有主机的子网,..)
as I'm working on a tool which manages IP devices and I'd like to add IPv6 Support to it, I'm searching for a 128bit unsigned Integer .net Datatype to do basic IP related calculations (Subnetting, List all Hosts for a Subnet, ..)
它应该支持标准的算术/逻辑方法。
It should support the standard arithmetic/logic methods.
感谢您:)
推荐答案
本文中作者描述并展示了如何实现Int128数据类型在.NET中:的 http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=636
in this article the author describes and shows how to implement the Int128 datatype in .NET: http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=636
也请搜索这里SO发布之前:)
also please search here in SO before posting :)
这篇关于寻找一个无符号128bit的整数数据类型,为.NET Framework的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!