_typeRegistry.registerSecurityLayer();
}
public MessageMetaData_1_0 createMetaData(ByteBuffer buf)
{
ValueHandler valueHandler = new ValueHandler(_typeRegistry);
ArrayList<Section> sections = new ArrayList<Section>(3);
ArrayList<ByteBuffer> encodedSections = new ArrayList<ByteBuffer>(3);
while(buf.hasRemaining())
{
try
{
ByteBuffer encodedBuf = buf.duplicate();
Object parse = valueHandler.parse(buf);
sections.add((Section) parse);
encodedBuf.limit(buf.position());
encodedSections.add(encodedBuf);
}