public void LoadMesh(String filename) throws IOException
{
byte[] buffer = FileUtils.readBytes(new File(filename));
BitPack input = new BitPack(buffer, 0);
_header = Utils.TrimAt0(input.UnpackString(24));
if (!_header.equalsIgnoreCase(MESH_HEADER))
throw new IOException("Unrecognized mesh format");
// Populate base mesh variables
_hasWeights = (input.UnpackByte() != 0);