SyntaxInfo () { myColorRegistry.seal(); myFontNameRegistry.seal(); byte[] compressed = new LZ4CompressorWithLength(LZ4Compressor.INSTANCE).compress(myStream.getInternalBuffer(), 0, myStream.size()); return new SyntaxInfo(myOutputInfoCount, compressed, myDefaultForeground, myDefaultBackground, myFontSize, myFontNameRegistry, myColorRegistry); }