//http://walkmen.codeplex.com/license
// License: GNU General Public License version 2 (GPLv2)
using System;
using System.Collections.Generic;
using System.Text;
namespace Walkmen.Util
{
public sealed class NumericUtils
{
private NumericUtils()
{
}
public static int ReadInt32(byte[] buffer, int offset)
{
return (buffer[offset + 0] << 24) + (buffer[offset + 1] << 16) + (buffer[offset + 2] << 8) + (buffer[offset + 3]);
}
}
}
|