public static ServiceContext createCodesetContext( int tcs, int tcsw )
{
// encapsulate context
CDROutputStream os = new CDROutputStream();
os.beginEncapsulatedArray();
CodeSetContextHelper.write( os, new CodeSetContext( tcs, tcsw ));
return new ServiceContext( TAG_CODE_SETS.value,
os.getBufferCopy() );
}