//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 ReadInt24(byte[] buffer, int offset)
{
return (buffer[offset + 0] << 16) + (buffer[offset + 1] << 8) + (buffer[offset + 2]);
}
}
}
|