ByteBuffer serializedSchemaTable = ByteBuffer.allocate(schemaTableLen);
schemaTable.flattenToBuffer(serializedSchemaTable);
serializedSchemaTable.flip();
schemaSerializer.write(serializedSchemaTable);
final BBContainer schemaContainer = schemaSerializer.getBBContainer();
schemaContainer.b().limit(schemaContainer.b().limit() - 4);//Don't want the row count
schemaContainer.b().position(schemaContainer.b().position() + 4);//Don't want total table length
final PureJavaCrc32 crc = new PureJavaCrc32();
ByteBuffer aggregateBuffer = ByteBuffer.allocate(container.b().remaining() + schemaContainer.b().remaining());
aggregateBuffer.put(container.b());