private void displayContent() { Title = $"{ObjectId} Stream"; var tokenStreamNullable = tokeniser.GetStream(ObjectId); if (tokenStreamNullable is null) { StreamTextBox.Text = sb.ToString(); return; } DictionaryToken?dictionaryToken; (dictionaryToken, bytesMemory) = tokenStreamNullable.Value; if (dictionaryToken != null && dictionaryToken.PdfObject is PdfContent) { displayContentStream(dictionaryToken); } else { displayChar(isInitialising: true); } }