Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Core
      • Char
      • FileLog
      • ILogReceiver
      • IScyllaDependencyProvider
      • Log
      • LogCategory
      • LogEntry
      • LogFileFormat
      • LogLevel
      • Num
      • ScyllaAAMode
      • ScyllaAAQuality
      • ScyllaBootstrap
      • ScyllaCore
      • ScyllaCore.Meta
      • ScyllaDependencyInfoData
      • ScyllaMaterialSurface
      • ScyllaRenderPipeline
      • ScyllaShadowResolution
      • Str
      • TextAlignment
      • UnityConsoleLog
    • Scylla.Core.Attributes
      • AttributeValidator
      • CompareOperator
      • ConditionalAttributeBase
      • DisableIfAttribute
      • DisplayNameAttribute
      • EnableIfAttribute
      • FoldoutAttribute
      • FormerlySerializedAsAttribute
      • GroupAttribute
      • HideIfAttribute
      • HideInFilterWindowAttribute
      • HorizontalLineAttribute
      • InfoBoxAttribute
      • InfoType
      • LayerFieldAttribute
      • MinMaxRangeAttribute
      • MonoTextAreaAttribute
      • NotEmptyAttribute
      • NotNullAttribute
      • ReadOnlyAttribute
      • ReflectedTypeAttribute
      • RequiredAttribute
      • SceneFieldAttribute
      • ShowIfAttribute
      • SortingLayerFieldAttribute
      • TagFieldAttribute
      • TitleAttribute
      • ValidateInputAttribute
      • ValidationException
    • Scylla.Core.Config
      • ConfigFileManager
      • ConfigurationRegistry
      • ConfigurationSlotAttribute
      • ConfigurationValidationResult
      • ConsoleLoggingSettings
      • FileLogFormattingSettings
      • FileLoggingSettings
      • IConfigurationRegistry
      • ScyllaConfiguration
      • ScyllaCoreConfiguration
      • ScyllaEventConfiguration
      • ScyllaLoggerConfiguration
      • ValidationSeverity
    • Scylla.Core.Editor
      • CalendarDefinitionEditor
      • ClockDefinitionEditor
      • ColorGradientAssetEditor
      • ColorGradientReducer
      • ColorPaletteAssetEditor
      • DebugCameraEditor
      • DebugEventMonitor
      • DependencySourceType
      • DependencyStatus
      • EventFilterCategory
      • EventLogEntry
      • GameViewCapture
      • IScyllaShaderProvider
      • ScyllaAboutWindow
      • ScyllaBootstrapEditor
      • ScyllaConfigurationEditorBase
      • ScyllaCoreConfigurationEditor
      • ScyllaCoreDependencyProvider
      • ScyllaCoreShaderProvider
      • ScyllaDebugWindow
      • ScyllaDependencyDetector
      • ScyllaDependencyGraphElement
      • ScyllaDependencyInfo
      • ScyllaEditorBase
      • ScyllaEditorColors
      • ScyllaEditorConstants
      • ScyllaEditorIconNames
      • ScyllaEditorStyles
      • ScyllaEditorUSSClasses
      • ScyllaEventConfigurationEditor
      • ScyllaFontCharacterExtractorWindow
      • ScyllaGettingStartedWindow
      • ScyllaIconPreview
      • ScyllaLoggerConfigurationEditor
      • ScyllaLogoElement
      • ScyllaMenuItems
      • ScyllaModuleEditor
      • ScyllaModuleStatusIndicator
      • ScyllaModuleWindow
      • ScyllaPanel
      • ScyllaPresetSelector
      • ScyllaSceneConfigurationEditor
      • ScyllaScheduler
      • ScyllaSearchField
      • ScyllaSettingsProvider
      • ScyllaSetupWizard
      • ScyllaShaderInclusionBuildProcessor
      • ScyllaStatusBar
      • ScyllaTabBar
      • ScyllaTimeConfigurationEditor
      • ScyllaToolWindowBase
      • ScyllaToolbar
      • ScyllaWizardWindowBase
      • ScyllaWizardWindowBase.WizardLayout
      • ScyllaWizardWindowBase.WizardStepDef
    • Scylla.Core.Editor.Attributes
      • AttributeReflectionCache
      • ConditionalDrawerBase
      • DisableIfDrawer
      • EnableIfDrawer
      • FoldoutDrawer
      • HideIfDrawer
      • HorizontalLineDrawer
      • InfoBoxDrawer
      • LayerFieldDrawer
      • MinMaxRangeDrawer
      • MonoTextAreaDrawer
      • ReadOnlyDrawer
      • RequiredDrawer
      • SceneFieldDrawer
      • SerializedPropertyExtensions
      • ShowIfDrawer
      • SortingLayerFieldDrawer
      • TagFieldDrawer
      • TitleDrawer
    • Scylla.Core.Editor.Drawers
      • DoubleRangeDrawer
      • FloatRangeDrawer
      • IntRangeDrawer
    • Scylla.Core.Editor.Util.UI.Layout
      • ScyllaUIEdgeInsetsDrawer
      • ScyllaUILayoutMenuItems
      • ScyllaUILengthDrawer
    • Scylla.Core.Events
      • IScyllaEventBus
      • ScyllaEvent
      • ScyllaEventBus
      • ScyllaEventPriority
      • ScyllaEventSubscription
      • ScyllaEvents
      • ScyllaFrameworkInitializedEvent
      • ScyllaFrameworkShutdownEvent
      • ScyllaModuleShutdownEvent
      • ScyllaModuleStartedEvent
    • Scylla.Core.Modules
      • IScyllaModule
      • IScyllaModuleManager
      • ScyllaModule
      • ScyllaModuleDependency
      • ScyllaModuleDependencyType
      • ScyllaModuleException
      • ScyllaModuleID
      • ScyllaModuleInfo
      • ScyllaModuleManager
      • ScyllaModulePlacement
      • ScyllaModuleState
    • Scylla.Core.Scenes
      • HygieneOverride
      • SceneLoadOperation
      • SceneLoadRunner
      • SceneLoadState
      • ScyllaActiveSceneChangedEvent
      • ScyllaSceneConfiguration
      • ScyllaSceneLoadOptions
      • ScyllaSceneLoadProgressEvent
      • ScyllaSceneLoadedEvent
      • ScyllaSceneManager
      • ScyllaSceneUnloadedEvent
      • ScyllaSceneWillLoadEvent
      • ScyllaSceneWillUnloadEvent
    • Scylla.Core.Settings
      • ScyllaProjectSettings
    • Scylla.Core.Structures
      • FractionalHexCoord
      • GridUtil
      • HexCoord
      • HexCornerCoord
      • HexCornerMap<TData>
      • HexCornerMap<TData>.Enumerator
      • HexCornerPosition
      • HexEdgeCoord
      • HexEdgeDirection
      • HexEdgeMap<TData>
      • HexEdgeMap<TData>.Enumerator
      • HexGridLayout
      • HexLayoutMode
      • HexOrientation
      • IScyllaCollection
      • IScyllaCollection<T>
      • IScyllaGraph
      • IScyllaGrid<TCoord, TCell>
      • IScyllaMap<TKey, TValue>
      • IScyllaMutableGraph
      • IScyllaMutableGraph<TNodeData>
      • IScyllaMutableGraph<TNodeData, TEdgeData>
      • IScyllaPausableState<TContext>
      • IScyllaPriorityQueueItem
      • IScyllaReadOnlyGraph
      • IScyllaReadOnlyGraph<TNodeData>
      • IScyllaReadOnlyGraph<TNodeData, TEdgeData>
      • IScyllaState<TContext>
      • IScyllaTransition<TContext>
      • IScyllaTrie
      • IScyllaTrie<TValue>
      • NeighborWriter<TCoord>
      • ScyllaAABB2
      • ScyllaAABB3
      • ScyllaAdjacencyListGraph
      • ScyllaAdjacencyListGraph.Builder
      • ScyllaAdjacencyListGraph.NodeEnumerator
      • ScyllaAdjacencyListGraph.SynchronizedScyllaAdjacencyListGraph
      • ScyllaAdjacencyListGraph<TNodeData>
      • ScyllaAdjacencyListGraph<TNodeData, TEdgeData>
      • ScyllaBVH
      • ScyllaBVH.Builder
      • ScyllaBVHCore
      • ScyllaBitArray
      • ScyllaBitArray.Builder
      • ScyllaBitArray.Enumerator
      • ScyllaBitArray.SynchronizedScyllaBitArray
      • ScyllaBitArrayDOTS
      • ScyllaBitArrayDOTS.Builder
      • ScyllaBitArrayDOTS.Enumerator
      • ScyllaCSRGraph
      • ScyllaCSRGraph.Builder
      • ScyllaCSRGraph<TNodeData>
      • ScyllaCSRGraph<TNodeData, TEdgeData>
      • ScyllaCollectionCapabilities
      • ScyllaCollectionThreadSafety
      • ScyllaCompositeState<TContext>
      • ScyllaDequeDOTS<T>
      • ScyllaDequeDOTS<T>.Builder
      • ScyllaDeque<T>
      • ScyllaDeque<T>.Builder
      • ScyllaDeque<T>.Enumerator
      • ScyllaDeque<T>.SynchronizedScyllaDeque
      • ScyllaDisjointSet
      • ScyllaDisjointSet.Builder
      • ScyllaDisjointSet.SynchronizedScyllaDisjointSet
      • ScyllaDisjointSetDOTS
      • ScyllaDisjointSetDOTS.Builder
      • ScyllaGenericObjectPool<T>
      • ScyllaGenericObjectPool<T>.Builder
      • ScyllaGenericObjectPool<T>.Enumerator
      • ScyllaGenericObjectPool<T>.SynchronizedScyllaGenericObjectPool
      • ScyllaGraphAlgorithms
      • ScyllaGraphDOTS
      • ScyllaGraphDOTS.Builder
      • ScyllaGraphEdge
      • ScyllaGraphEdge<TEdgeData>
      • ScyllaGraphNode
      • ScyllaGraphNodeFlags
      • ScyllaGraphPath
      • ScyllaGraphProperties
      • ScyllaGraphSearchState
      • ScyllaGridGraphAdapter<TCoord, TCell>
      • ScyllaHexGrid<TCell>
      • ScyllaHexGrid<TCell>.Builder
      • ScyllaHexGrid<TCell>.Enumerator
      • ScyllaHexGrid<TCell>.SynchronizedScyllaHexGrid
      • ScyllaHierarchicalStateMachine<TContext>
      • ScyllaKDTree3
      • ScyllaKDTree3.Builder
      • ScyllaKDTree3Core
      • ScyllaKDTree3Core.Node
      • ScyllaLayeredStateMachine<TContext>
      • ScyllaLooseOctree
      • ScyllaLooseOctree.Builder
      • ScyllaLooseOctreeCore
      • ScyllaLooseOctreeUtil
      • ScyllaLooseOctree<T>
      • ScyllaLooseQuadtree
      • ScyllaLooseQuadtree.Builder
      • ScyllaLooseQuadtreeCore
      • ScyllaLooseQuadtreeUtil
      • ScyllaLooseQuadtree<T>
      • ScyllaMapDOTS<TKey, TValue>
      • ScyllaMapDOTS<TKey, TValue>.Builder
      • ScyllaMapEntry<TKey, TValue>
      • ScyllaMap<TKey, TValue>
      • ScyllaMap<TKey, TValue>.Builder
      • ScyllaMap<TKey, TValue>.Enumerator
      • ScyllaMap<TKey, TValue>.SynchronizedScyllaMap
      • ScyllaObjectPool<T>
      • ScyllaObjectPool<T>.Builder
      • ScyllaObjectPool<T>.Enumerator
      • ScyllaObjectPool<T>.SynchronizedScyllaObjectPool
      • ScyllaPausableStateBase<TContext>
      • ScyllaPriorityQueueDOTS<TValue>
      • ScyllaPriorityQueueDOTS<TValue>.Builder
      • ScyllaPriorityQueueItemComparer<T>
      • ScyllaPriorityQueueNode<TValue>
      • ScyllaPriorityQueueOrder
      • ScyllaPriorityQueue<T>
      • ScyllaPriorityQueue<T>.Builder
      • ScyllaPriorityQueue<T>.Enumerator
      • ScyllaPriorityQueue<T>.SynchronizedScyllaPriorityQueue
      • ScyllaPushdownStateMachine<TContext>
      • ScyllaQuadtreePlane
      • ScyllaQueueDOTS<T>
      • ScyllaQueueDOTS<T>.Builder
      • ScyllaQueue<T>
      • ScyllaQueue<T>.Builder
      • ScyllaQueue<T>.Enumerator
      • ScyllaQueue<T>.SynchronizedScyllaQueue
      • ScyllaRay3
      • ScyllaRingBufferDOTS<T>
      • ScyllaRingBufferDOTS<T>.Builder
      • ScyllaRingBufferDOTS<T>.Enumerator
      • ScyllaRingBufferDOTS<T>.ReverseEnumerable
      • ScyllaRingBufferDOTS<T>.ReverseEnumerator
      • ScyllaRingBuffer<T>
      • ScyllaRingBuffer<T>.Builder
      • ScyllaRingBuffer<T>.Enumerator
      • ScyllaRingBuffer<T>.ReverseEnumerable
      • ScyllaRingBuffer<T>.ReverseEnumerator
      • ScyllaRingBuffer<T>.SynchronizedScyllaRingBuffer
      • ScyllaSparseHexGrid<TCell>
      • ScyllaSparseHexGrid<TCell>.Builder
      • ScyllaSparseHexGrid<TCell>.Enumerator
      • ScyllaSparseHexGrid<TCell>.SynchronizedScyllaSparseHexGrid
      • ScyllaSparseSquareGrid<TCell>
      • ScyllaSparseSquareGrid<TCell>.Builder
      • ScyllaSparseSquareGrid<TCell>.Enumerator
      • ScyllaSparseSquareGrid<TCell>.SynchronizedScyllaSparseSquareGrid
      • ScyllaSparseTriGrid<TCell>
      • ScyllaSparseTriGrid<TCell>.Builder
      • ScyllaSparseTriGrid<TCell>.Enumerator
      • ScyllaSparseTriGrid<TCell>.SynchronizedScyllaSparseTriGrid
      • ScyllaSquareGrid<TCell>
      • ScyllaSquareGrid<TCell>.Builder
      • ScyllaSquareGrid<TCell>.Enumerator
      • ScyllaSquareGrid<TCell>.SynchronizedScyllaSquareGrid
      • ScyllaStackDOTS<T>
      • ScyllaStackDOTS<T>.Builder
      • ScyllaStack<T>
      • ScyllaStack<T>.Builder
      • ScyllaStack<T>.Enumerator
      • ScyllaStack<T>.SynchronizedScyllaStack
      • ScyllaStateBase<TContext>
      • ScyllaStateMachine<TContext>
      • ScyllaTransition<TContext>
      • ScyllaTriGrid<TCell>
      • ScyllaTriGrid<TCell>.Builder
      • ScyllaTriGrid<TCell>.Enumerator
      • ScyllaTriGrid<TCell>.SynchronizedScyllaTriGrid
      • ScyllaTrie
      • ScyllaTrie.Builder
      • ScyllaTrie.SynchronizedScyllaTrie
      • ScyllaTrie<TValue>
      • ScyllaTrie<TValue>.Builder
      • ScyllaTrie<TValue>.SynchronizedScyllaTrie
      • ScyllaTypeMap
      • ScyllaTypeMap.Builder
      • ScyllaTypeMap.DiagnosticEntry
      • ScyllaTypeMap.SynchronizedScyllaTypeMap
      • SerializableDictionary<TKey, TValue>
      • SquareAdjacency
      • SquareCoord
      • SquareCornerCoord
      • SquareCornerMap<TData>
      • SquareCornerMap<TData>.Enumerator
      • SquareDistanceMetric
      • SquareEdgeCoord
      • SquareEdgeDirection
      • SquareEdgeMap<TData>
      • SquareEdgeMap<TData>.Enumerator
      • SquareGridLayout
      • TriCoord
      • TriCornerCoord
      • TriCornerMap<TData>
      • TriCornerMap<TData>.Enumerator
      • TriEdgeCoord
      • TriEdgeDirection
      • TriEdgeMap<TData>
      • TriEdgeMap<TData>.Enumerator
      • TriGridLayout
    • Scylla.Core.Time
      • CalendarDefinition
      • CalendarMath
      • ClockDayChangedEvent
      • ClockDebugInfo
      • ClockDefinition
      • ClockEraChangedEvent
      • ClockEvent
      • ClockEventKind
      • ClockHourChangedEvent
      • ClockMinuteChangedEvent
      • ClockMonthChangedEvent
      • ClockPausedEvent
      • ClockRegisteredEvent
      • ClockResumedEvent
      • ClockSeasonChangedEvent
      • ClockSecondChangedEvent
      • ClockState
      • ClockTickEvent
      • ClockTimeScaleChangedEvent
      • ClockUnregisteredEvent
      • ClockWeekdayChangedEvent
      • ClockYearChangedEvent
      • EraDefinition
      • GameDate
      • IClockListener
      • IClockSource
      • IEraConditionProvider
      • ILocationProfile
      • INetworkTimeSyncStrategy
      • ITimeListener
      • LeapYearRule
      • MasterTimeState
      • MonthDefinition
      • PauseMode
      • ScheduleExtensions
      • ScheduleMode
      • ScheduledTickHandle
      • ScyllaClock
      • ScyllaTime
      • ScyllaTimeConfiguration
      • ScyllaTimeDebugInfo
      • SeasonDefinition
      • SmoothTimeScaleTransition
      • TimeEffectHandle
      • TimeEffects
      • TimeEvent
      • TimeScaleBlendMode
      • TimeScaleModifier
      • TimeScaleModifierHandle
      • TimeScaleModifierStack
      • TimeScaleModifierState
      • TimeTickRunner
      • WeekdayDefinition
    • Scylla.Core.Util
      • ArrayUtil
      • AssemblyUtil
      • CameraUtil
      • CollectionUtil
      • ColorUtil
      • ComponentUtil
      • DateUtil
      • DebugCamera
      • FontUtil
      • FontVariant
      • GameObjectExtensions
      • GameObjectUtil
      • InterfaceUtil
      • Interpolation
      • LightUtil
      • LitMaterialDescriptor
      • ManualResetEventEx
      • MaterialUtil
      • NumberExtensions
      • NumberUtil
      • OptionalPackages
      • PlatformUtil
      • ResourceUtil
      • SpriteUtil
      • StringUtil
      • TabularText
      • TabularText.Builder
      • TestTextGenerator
      • ThreadUtil
      • TimeUtil
      • Timer
      • TransformExtensions
      • TypeUtil
      • UnicodeRange
      • VirtualTransform
    • Scylla.Core.Util.Addressables
      • AddressableErrorCode
      • AddressableException
      • AddressableExtensions
      • AddressableProgress
      • AddressableResult
      • AddressableResult<T>
      • AddressableSettings
      • ManagedAddressableList<T>
      • ManagedAddressable<T>
      • ScyllaAddressables
    • Scylla.Core.Util.Checksum
      • ChecksumAdler32
      • ChecksumCRC16
      • ChecksumCRC32
      • ChecksumFletcher32
      • ChecksumXXHash32
      • ChecksumXXHash64
      • IChecksum
    • Scylla.Core.Util.Compression
      • ArchiveEntryInfo
      • CompressionAlgorithm
      • CompressionErrorCode
      • CompressionException
      • CompressionExtensions
      • CompressionLevel
      • CompressionProgress
      • CompressionResult
      • CompressionResult<T>
      • CompressionSettings
      • IArchiveProvider
      • ICompressionProvider
      • ScyllaCompression
    • Scylla.Core.Util.Crypto
      • CryptoAlgorithm
      • CryptoErrorCode
      • CryptoException
      • CryptoExtensions
      • CryptoSettings
      • ICryptoProvider
      • KeyDerivationHash
      • KeyDerivationSettings
      • ScyllaCrypto
    • Scylla.Core.Util.DebugDraw
      • DebugDraw
      • DebugDrawSpace
      • DebugDrawTextAlign
    • Scylla.Core.Util.Effects
      • ColorAnimationText
      • ColorAnimationTextDirection
      • ColorAnimationTextGradient
    • Scylla.Core.Util.File
      • ConfigFile
      • ConfigFileGroup
      • ConfigFileProperty
      • ConfigFilePropertyType
      • ConfigFileUtil
      • FileErrorCode
      • FileException
      • FileExtensions
      • FilePathExtensions
      • FilePathUtil
      • FileProgress
      • FileSettings
      • ImageFileFormat
      • ImageFileSettings
      • ScyllaFileUtil
    • Scylla.Core.Util.Geom
      • AABB3D
      • BarrelColoringMode
      • BollardColoringMode
      • CappedWallColoringMode
      • Capsule3D
      • ColliderMode
      • CrateColoringMode
      • Ellipse
      • FaceColoringMode
      • IFaceColorResolver
      • OBB3D
      • PaletteFaceColorResolver
      • PaneledWall1ColoringMode
      • PaneledWall2ColoringMode
      • PipeSegmentColoringMode
      • RoundedBoxColoringMode
      • ScyllaArchwayShape
      • ScyllaBarrelShape
      • ScyllaBollardShape
      • ScyllaBoxShape
      • ScyllaCappedWallShape
      • ScyllaCapsuleShape
      • ScyllaColumnShape
      • ScyllaConeShape
      • ScyllaCrateShape
      • ScyllaCurvedStairsShape
      • ScyllaCylinderShape
      • ScyllaDomeShape
      • ScyllaFloorTileShape
      • ScyllaIcoSphereShape
      • ScyllaLadderShape
      • ScyllaLinearStairsShape
      • ScyllaOctahedronShape
      • ScyllaPaneledWall1Shape
      • ScyllaPaneledWall2Shape
      • ScyllaPipeSegmentShape
      • ScyllaPipeShape
      • ScyllaPlaneShape
      • ScyllaPyramidShape
      • ScyllaQuadShape
      • ScyllaRampShape
      • ScyllaRingShape
      • ScyllaRoundedBoxShape
      • ScyllaShapeBase3D
      • ScyllaShapes
      • ScyllaShelvedWallShape
      • ScyllaSignShape
      • ScyllaSkirtedWallShape
      • ScyllaSkyDomeShape
      • ScyllaSphereShape
      • ScyllaSpiralStairsShape
      • ScyllaTorusShape
      • ScyllaTriangularPrismShape
      • ScyllaWallShape
      • ScyllaWallWithDoorShape
      • ScyllaWallWithWindowShape
      • ShapeMaterialCache
      • ShelvedWallColoringMode
      • SignColoringMode
      • Size2D
      • Size3D
      • SkirtedWallColoringMode
      • Sphere3D
      • StairsColoringMode
      • UniformColorResolver
    • Scylla.Core.Util.Math
      • Complex
      • MathUtil
      • Monomial
      • Polynomial
    • Scylla.Core.Util.Noise
      • CellularDistanceType
      • CellularReturnType
      • CellularSettings
      • FractalType
      • NoiseAlgorithm
      • NoiseCurlSampler
      • NoiseDomainWarper
      • NoiseGenerator
      • NoiseSettings
      • PixelNoise
      • PixelNoiseDistribution
      • PixelNoiseSettings
      • WarpSettings
    • Scylla.Core.Util.Palette
      • ColorAssetRegistry
      • ColorGradient
      • ColorGradientAlphaStop
      • ColorGradientAlphaStopData
      • ColorGradientAsset
      • ColorGradientColorSpace
      • ColorGradientData
      • ColorGradientMode
      • ColorGradientStop
      • ColorGradientStopData
      • ColorGradientStopInterpolation
      • ColorPalette
      • ColorPaletteAsset
      • ColorPaletteData
      • ColorPaletteEntry
      • ColorPaletteEntryData
      • ColorPaletteMapping
      • ColorPalettes
      • ColorRole
      • ColorStopBlendMode
      • ColorSwatchCollection
      • ColorSwatchCollectionAsset
      • ColorSwatchCollectionData
      • ColorSwatchEntryData
      • MutableColorGradient
      • MutableColorPalette
    • Scylla.Core.Util.ProceduralMapGen
      • BSPSettings
      • CellularAutomataSettings
      • CorridorStyle
      • DoorAxis
      • DoorPlacement
      • DoorPlacementSettings
      • DoorShapeConfig
      • DrunkardWalkSettings
      • FloorplanSettings
      • InstantiationResult
      • MapCellType
      • MapCorridor<TCoord>
      • MapGenResult<TCoord>
      • MapGenSettings
      • MapOverlaySettings
      • MapPatternType
      • MapRoom<TCoord>
      • MazeRoomSettings
      • MazeSettings
      • NoiseThresholdSettings
      • ProceduralMapGenerator
      • ProceduralMapOverlay
      • ProceduralMapPostProcessor
      • RoomCorridorSettings
      • RoomGroup
      • ScyllaProceduralMapInstantiator
      • VoronoiRegionSettings
      • WindingCorridorSettings
    • Scylla.Core.Util.Random
      • AliasTable
      • CryptoRandomSource
      • DiceRoll
      • IProbabilityInfluence
      • IRandomSource
      • MersenneTwister
      • MersenneTwisterState
      • PCG32
      • PCG32State
      • PickHistory
      • PickRecord
      • PoissonDiskSampler
      • PoissonDiskSampler.BoundChecker
      • ProbabilityEntry<T>
      • ProbabilityList<T>
      • ProbabilityNormalizer
      • RandomAlgorithm
      • RandomExtensions
      • RandomID
      • RandomSeeder
      • RandomText
      • RandomUtil
      • RandomUtil.DeterministicRNG
      • RandomUtil.DeterministicRNGState
      • RepeatPreventionMode
      • SelectionStrategy
      • SplitMix64RNG
      • SplitMix64State
      • SystemRandomSource
      • UnityRandomSource
      • Xoroshiro128Plus
      • Xoroshiro128State
      • Xoshiro256StarStar
      • Xoshiro256State
    • Scylla.Core.Util.Ranges
      • DoubleRange
      • FloatRange
      • IntRange
    • Scylla.Core.Util.Serialization
      • ArraySerializer<T>
      • BoolSerializer
      • BoundsSerializer
      • ByteArraySerializer
      • ByteSerializer
      • CharSerializer
      • Color32Serializer
      • ColorSerializer
      • DateTimeOffsetSerializer
      • DateTimeSerializer
      • DecimalSerializer
      • DefaultValueHandling
      • DictionarySerializer<TKey, TValue>
      • DoubleSerializer
      • EnumSerializer<T>
      • FloatSerializer
      • GuidSerializer
      • HashSetSerializer<T>
      • IScyllaReader
      • IScyllaWriter
      • ISerializationContext
      • ITypeSerializer
      • ITypeSerializer<T>
      • IntSerializer
      • LayerMaskSerializer
      • ListSerializer<T>
      • LongSerializer
      • NullHandling
      • PropertyMetadata
      • QuaternionSerializer
      • QueueSerializer<T>
      • RectIntSerializer
      • RectSerializer
      • ReferenceHandling
      • ReferenceTracker
      • ReflectionSerializer
      • SByteSerializer
      • ScyllaIgnoreAttribute
      • ScyllaIncludeAttribute
      • ScyllaJSONReader
      • ScyllaJSONWriter
      • ScyllaMigrationAttribute
      • ScyllaPropertyAttribute
      • ScyllaSerializableAttribute
      • ScyllaSerialization
      • SerializationContext
      • SerializationEngine
      • SerializationException
      • SerializationFormat
      • SerializationResult
      • SerializationResult<T>
      • SerializationSettings
      • SerializationSettings.Builder
      • SerializationToken
      • ShortSerializer
      • StackSerializer<T>
      • StringSerializer
      • TimeSpanSerializer
      • TypeMetadata
      • TypeMetadataCache
      • TypeSerializerAdapter<T>
      • TypeSerializerBase<T>
      • UIntSerializer
      • ULongSerializer
      • UShortSerializer
      • Vector2IntSerializer
      • Vector2Serializer
      • Vector3IntSerializer
      • Vector3Serializer
      • Vector4Serializer
    • Scylla.Core.Util.Tween
      • Ease
      • EaseType
      • ITween
      • LoopType
      • ScyllaShapeTweenExtensions
      • ScyllaTween
      • SequenceItem
      • SequenceItemType
      • TweenAudioSourceExtensions
      • TweenBase
      • TweenCanvasGroupExtensions
      • TweenColor
      • TweenErrorCode
      • TweenException
      • TweenExtensions
      • TweenFloat
      • TweenID
      • TweenLerp
      • TweenManager
      • TweenMaterialExtensions
      • TweenPool
      • TweenQuaternion
      • TweenRectTransformExtensions
      • TweenSequence
      • TweenSettings
      • TweenSpriteRendererExtensions
      • TweenState
      • TweenTransformExtensions
      • TweenVector2
      • TweenVector3
      • TweenVector4
      • Tween<T>
    • Scylla.Core.Util.UI
      • DebugCanvasUtil
      • GradientBackground
      • IUIText
      • IUITextField
      • LineScrollTextArea
      • LineScrollTextAreaBuilder
      • LineScrollTextBuffer
      • LineScrollTextBuffer.Builder
      • LineScrollTextBuffer.LogicalLine
      • LineScrollTextBufferLineAddedEvent
      • LineScrollTextBufferScrolledEvent
      • LineScrollWindow
      • LineScrollWindow.Enumerator
      • ScrollDirection
      • ScrollPhysics
      • ScrollTextArea
      • ScrollTextAreaBuilder
      • ScrollTextAreaDragEndedEvent
      • ScrollTextAreaDragStartedEvent
      • ScrollTextAreaScrolledEvent
      • ScrollTextBuffer
      • ScrollTextBuffer.Builder
      • ScrollTextBuffer.ScrollTextLine
      • ScrollTextBufferLineAddedEvent
      • ScrollTextLineView
      • ScyllaUIAdaptiveStack
      • ScyllaUIAlignment
      • ScyllaUIAspectBreakpoint
      • ScyllaUICrossAlignment
      • ScyllaUIEdgeInsets
      • ScyllaUIFitMode
      • ScyllaUIFlexElement
      • ScyllaUIGrid
      • ScyllaUIGridItem
      • ScyllaUIHStack
      • ScyllaUILayoutAnimator
      • ScyllaUILayoutDebugDraw
      • ScyllaUILayoutDebugDrawConfig
      • ScyllaUILayoutGizmos
      • ScyllaUILayoutRoot
      • ScyllaUILayoutStyle
      • ScyllaUILength
      • ScyllaUILengthUnit
      • ScyllaUIPositioned
      • ScyllaUIScreenMargin
      • ScyllaUISizeMode
      • ScyllaUISpacer
      • ScyllaUIStackBase
      • ScyllaUIText
      • ScyllaUITextGroup
      • ScyllaUITrack
      • ScyllaUITrackSizingMode
      • ScyllaUIVStack
      • ScyllaUIZStack
      • TMPSettings
      • TMPUtil
      • TextSelectionPosition
      • TextSelectionRange
      • UIAlignment
      • UIAnchor
      • UIAnchors
      • UIFontReference
      • UIFontStyle
      • UIMargin
      • UIPadding
      • UITextBuilder
      • UITextComponent
      • UITextFactory
      • UITextFieldBuilder
      • UITextFieldComponent
      • UIUtil
      • VisualLine
    • Scylla.Core.Util.Units
      • AreaUnit
      • DataUnit
      • LengthUnit
      • MassUnit
      • PressureUnit
      • SpeedUnit
      • TemperatureUnit
      • TimeFormat
      • TimeUnit

    Class CompressionExtensions

    Extension methods on byte[] and byte[][] that expose the full ScyllaCompression API in a fluent, instance-method style.

    Inheritance
    object
    CompressionExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Scylla.Core.Util.Compression
    Assembly: ScyllaCore.dll
    Syntax
    public static class CompressionExtensions
    Remarks

    Every method in this class is a thin forwarding wrapper that calls the equivalent static method on ScyllaCompression. No additional logic is added here; the authoritative documentation for each operation is on ScyllaCompression.

    Method categories exposed as extensions:

    • Algorithm detection - DetectCompressionAlgorithm(byte[])
    • Byte array compress/decompress - synchronous and async
    • Combined compress+encrypt / decrypt+decompress - synchronous and async
    • Batch compress/decompress on byte[][] - synchronous and async

    Stream, file, and archive operations do not have extension-method equivalents here; use ScyllaCompression directly for those.

    Methods

    Compress(byte[])

    Compresses this byte array using DefaultAlgorithm and DefaultLevel.

    Declaration
    public static byte[] Compress(this byte[] data)
    Parameters
    Type Name Description
    byte[] data

    The data to compress. Must not be null.

    Returns
    Type Description
    byte[]

    The compressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or data is null.

    Compress(byte[], CompressionAlgorithm)

    Compresses this byte array using the specified algorithm at the default compression level. Internally constructs a CompressionSettings with the given algorithm; all other settings use their default values.

    Declaration
    public static byte[] Compress(this byte[] data, CompressionAlgorithm algorithm)
    Parameters
    Type Name Description
    byte[] data

    The data to compress. Must not be null.

    CompressionAlgorithm algorithm

    The compression algorithm to use. Algorithms other than GZip and Deflate require the SCYLLA_HAS_SHARPZIPLIB define to be active.

    Returns
    Type Description
    byte[]

    The compressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails, the algorithm is unsupported, or data is null.

    Compress(byte[], CompressionSettings)

    Compresses this byte array using the algorithm and level from settings.

    Declaration
    public static byte[] Compress(this byte[] data, CompressionSettings settings)
    Parameters
    Type Name Description
    byte[] data

    The data to compress. Must not be null.

    CompressionSettings settings

    Compression settings. Pass null to use DefaultAlgorithm and DefaultLevel.

    Returns
    Type Description
    byte[]

    The compressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or data is null.

    CompressAndEncrypt(byte[], string)

    Compresses this byte array using default settings and then encrypts the result. See CompressAndEncrypt(byte[], string) for full details.

    Declaration
    public static byte[] CompressAndEncrypt(this byte[] data, string password)
    Parameters
    Type Name Description
    byte[] data

    The plaintext data to compress and encrypt. Must not be null.

    string password

    The encryption password. Must not be null or empty.

    Returns
    Type Description
    byte[]

    The compressed-then-encrypted byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or the password is empty.

    CryptoException

    Thrown when encryption fails.

    CompressAndEncrypt(byte[], string, CompressionSettings, CryptoSettings)

    Compresses this byte array with custom settings and then encrypts the result. See CompressAndEncrypt(byte[], string, CompressionSettings, CryptoSettings) for full details.

    Declaration
    public static byte[] CompressAndEncrypt(this byte[] data, string password, CompressionSettings compressionSettings, CryptoSettings cryptoSettings = null)
    Parameters
    Type Name Description
    byte[] data

    The plaintext data to compress and encrypt. Must not be null.

    string password

    The encryption password. Must not be null or empty.

    CompressionSettings compressionSettings

    Compression settings. Pass null to use DefaultAlgorithm and DefaultLevel.

    CryptoSettings cryptoSettings

    Encryption settings, or null for crypto defaults.

    Returns
    Type Description
    byte[]

    The compressed-then-encrypted byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or the password is empty.

    CryptoException

    Thrown when encryption fails.

    CompressAndEncryptAsync(byte[], string, CompressionSettings, CryptoSettings, CancellationToken)

    Asynchronously compresses this byte array with custom settings and then encrypts the result.

    Declaration
    public static Task<byte[]> CompressAndEncryptAsync(this byte[] data, string password, CompressionSettings compressionSettings, CryptoSettings cryptoSettings = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The plaintext data to compress and encrypt. Must not be null.

    string password

    The encryption password. Must not be null or empty.

    CompressionSettings compressionSettings

    Compression settings. Pass null to use DefaultAlgorithm and DefaultLevel.

    CryptoSettings cryptoSettings

    Encryption settings, or null for crypto defaults.

    CancellationToken cancellationToken

    Optional token to cancel the compression step.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the compressed-then-encrypted byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or the password is empty.

    CryptoException

    Thrown when encryption fails.

    CompressAndEncryptAsync(byte[], string, CancellationToken)

    Asynchronously compresses this byte array using default settings and then encrypts the result.

    Declaration
    public static Task<byte[]> CompressAndEncryptAsync(this byte[] data, string password, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The plaintext data to compress and encrypt. Must not be null.

    string password

    The encryption password. Must not be null or empty.

    CancellationToken cancellationToken

    Optional token to cancel the compression step.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the compressed-then-encrypted byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or the password is empty.

    CryptoException

    Thrown when encryption fails.

    CompressAsync(byte[], CompressionAlgorithm, CancellationToken)

    Asynchronously compresses this byte array using the specified algorithm at the default compression level.

    Declaration
    public static Task<byte[]> CompressAsync(this byte[] data, CompressionAlgorithm algorithm, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The data to compress. Must not be null.

    CompressionAlgorithm algorithm

    The compression algorithm to use. Algorithms other than GZip and Deflate require the SCYLLA_HAS_SHARPZIPLIB define.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the compressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails, the algorithm is unsupported, or data is null.

    CompressAsync(byte[], CompressionSettings, CancellationToken)

    Asynchronously compresses this byte array using the algorithm and level from settings.

    Declaration
    public static Task<byte[]> CompressAsync(this byte[] data, CompressionSettings settings, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The data to compress. Must not be null.

    CompressionSettings settings

    Compression settings. Pass null to use DefaultAlgorithm and DefaultLevel.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the compressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or data is null.

    CompressAsync(byte[], CancellationToken)

    Asynchronously compresses this byte array using DefaultAlgorithm and DefaultLevel.

    Declaration
    public static Task<byte[]> CompressAsync(this byte[] data, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The data to compress. Must not be null.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the compressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compression fails or data is null.

    CompressBatch(byte[][])

    Compresses each element of this jagged array in parallel using default settings, returning a new jagged array of compressed results in the same order. Useful for compressing many independent assets or data blobs simultaneously.

    Declaration
    public static byte[][] CompressBatch(this byte[][] dataArrays)
    Parameters
    Type Name Description
    byte[][] dataArrays

    The jagged array of byte arrays to compress. Must not be null; individual elements must also not be null.

    Returns
    Type Description
    byte[][]

    A jagged array of compressed byte arrays whose length equals dataArrays.Length and whose elements correspond index-for-index with the input.

    Exceptions
    Type Condition
    CompressionException

    Thrown when dataArrays is null, any element is null, or compression of any element fails. Only the first exception encountered is re-thrown.

    CompressBatch(byte[][], CompressionSettings)

    Compresses each element of this jagged array in parallel using the provided settings, returning a new jagged array of compressed results in the same order.

    Declaration
    public static byte[][] CompressBatch(this byte[][] dataArrays, CompressionSettings settings)
    Parameters
    Type Name Description
    byte[][] dataArrays

    The jagged array of byte arrays to compress. Must not be null.

    CompressionSettings settings

    Compression settings applied to every element. Pass null to use DefaultAlgorithm and DefaultLevel. The MaxDegreeOfParallelism property controls how many elements are compressed simultaneously.

    Returns
    Type Description
    byte[][]

    A jagged array of compressed byte arrays in the same order as the input.

    Exceptions
    Type Condition
    CompressionException

    Thrown when any element is null or compression fails. Only the first exception encountered is re-thrown.

    CompressBatchAsync(byte[][], CompressionSettings, CancellationToken)

    Asynchronously compresses each element of this jagged array using the provided settings, returning a new jagged array of compressed results in the same order.

    Declaration
    public static Task<byte[][]> CompressBatchAsync(this byte[][] dataArrays, CompressionSettings settings, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[][] dataArrays

    The jagged array of byte arrays to compress. Must not be null.

    CompressionSettings settings

    Compression settings. Pass null to use DefaultAlgorithm and DefaultLevel.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[][]>

    A task that resolves to a jagged array of compressed byte arrays.

    Exceptions
    Type Condition
    CompressionException

    Thrown when any element is null or compression fails.

    CompressBatchAsync(byte[][], CancellationToken)

    Asynchronously compresses each element of this jagged array using default settings, returning a new jagged array of compressed results in the same order.

    Declaration
    public static Task<byte[][]> CompressBatchAsync(this byte[][] dataArrays, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[][] dataArrays

    The jagged array of byte arrays to compress. Must not be null.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[][]>

    A task that resolves to a jagged array of compressed byte arrays.

    Exceptions
    Type Condition
    CompressionException

    Thrown when any element is null or compression fails.

    Decompress(byte[])

    Decompresses this byte array using DefaultAlgorithm.

    Declaration
    public static byte[] Decompress(this byte[] compressedData)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to decompress. Must not be null.

    Returns
    Type Description
    byte[]

    The decompressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when decompression fails, the data is corrupted, or compressedData is null.

    Decompress(byte[], CompressionAlgorithm)

    Decompresses this byte array using the specified algorithm. Internally constructs a CompressionSettings with the given algorithm; all other settings use their default values.

    Declaration
    public static byte[] Decompress(this byte[] compressedData, CompressionAlgorithm algorithm)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to decompress. Must not be null.

    CompressionAlgorithm algorithm

    The compression algorithm that was used to produce this data. Must match the algorithm used during compression or the operation will fail.

    Returns
    Type Description
    byte[]

    The decompressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when decompression fails, the data is corrupted, the algorithm is unsupported, or compressedData is null.

    Decompress(byte[], CompressionSettings)

    Decompresses this byte array using the algorithm specified in settings.

    Declaration
    public static byte[] Decompress(this byte[] compressedData, CompressionSettings settings)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to decompress. Must not be null.

    CompressionSettings settings

    Compression settings. Pass null to use DefaultAlgorithm.

    Returns
    Type Description
    byte[]

    The decompressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when decompression fails, the data is corrupted, or compressedData is null.

    DecompressAsync(byte[], CompressionAlgorithm, CancellationToken)

    Asynchronously decompresses this byte array using the specified algorithm.

    Declaration
    public static Task<byte[]> DecompressAsync(this byte[] compressedData, CompressionAlgorithm algorithm, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to decompress. Must not be null.

    CompressionAlgorithm algorithm

    The compression algorithm that was used to produce this data. Must match the algorithm used during compression or the operation will fail.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the decompressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when decompression fails, the data is corrupted, the algorithm is unsupported, or compressedData is null.

    DecompressAsync(byte[], CompressionSettings, CancellationToken)

    Asynchronously decompresses this byte array using the algorithm specified in settings.

    Declaration
    public static Task<byte[]> DecompressAsync(this byte[] compressedData, CompressionSettings settings, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to decompress. Must not be null.

    CompressionSettings settings

    Compression settings. Pass null to use DefaultAlgorithm.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the decompressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when decompression fails, the data is corrupted, or compressedData is null.

    DecompressAsync(byte[], CancellationToken)

    Asynchronously decompresses this byte array using DefaultAlgorithm.

    Declaration
    public static Task<byte[]> DecompressAsync(this byte[] compressedData, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to decompress. Must not be null.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the decompressed byte array.

    Exceptions
    Type Condition
    CompressionException

    Thrown when decompression fails, the data is corrupted, or compressedData is null.

    DecompressBatch(byte[][])

    Decompresses each element of this jagged array in parallel using default settings, returning a new jagged array of decompressed results in the same order.

    Declaration
    public static byte[][] DecompressBatch(this byte[][] compressedArrays)
    Parameters
    Type Name Description
    byte[][] compressedArrays

    The jagged array of compressed byte arrays to decompress. Must not be null; individual elements must also not be null.

    Returns
    Type Description
    byte[][]

    A jagged array of decompressed byte arrays in the same order as the input.

    Exceptions
    Type Condition
    CompressionException

    Thrown when compressedArrays is null, any element is null, or decompression of any element fails.

    DecompressBatch(byte[][], CompressionSettings)

    Decompresses each element of this jagged array in parallel using the provided settings, returning a new jagged array of decompressed results in the same order.

    Declaration
    public static byte[][] DecompressBatch(this byte[][] compressedArrays, CompressionSettings settings)
    Parameters
    Type Name Description
    byte[][] compressedArrays

    The jagged array of compressed byte arrays to decompress. Must not be null.

    CompressionSettings settings

    Compression settings that determine the algorithm for decompression. Must match the algorithm used during compression. Pass null to use DefaultAlgorithm.

    Returns
    Type Description
    byte[][]

    A jagged array of decompressed byte arrays in the same order as the input.

    Exceptions
    Type Condition
    CompressionException

    Thrown when any element is null, corrupted, or decompression fails.

    DecompressBatchAsync(byte[][], CompressionSettings, CancellationToken)

    Asynchronously decompresses each element of this jagged array using the provided settings, returning a new jagged array of decompressed results in the same order.

    Declaration
    public static Task<byte[][]> DecompressBatchAsync(this byte[][] compressedArrays, CompressionSettings settings, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[][] compressedArrays

    The jagged array of compressed byte arrays to decompress. Must not be null.

    CompressionSettings settings

    Compression settings that determine the algorithm for decompression. Must match the algorithm used during compression. Pass null to use DefaultAlgorithm.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[][]>

    A task that resolves to a jagged array of decompressed byte arrays.

    Exceptions
    Type Condition
    CompressionException

    Thrown when any element is null, corrupted, or decompression fails.

    DecompressBatchAsync(byte[][], CancellationToken)

    Asynchronously decompresses each element of this jagged array using default settings, returning a new jagged array of decompressed results in the same order.

    Declaration
    public static Task<byte[][]> DecompressBatchAsync(this byte[][] compressedArrays, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[][] compressedArrays

    The jagged array of compressed byte arrays to decompress. Must not be null.

    CancellationToken cancellationToken

    Optional token to cancel the operation.

    Returns
    Type Description
    Task<byte[][]>

    A task that resolves to a jagged array of decompressed byte arrays.

    Exceptions
    Type Condition
    CompressionException

    Thrown when any element is null, corrupted, or decompression fails.

    DecryptAndDecompress(byte[], string)

    Decrypts this byte array and then decompresses the result using default settings. See DecryptAndDecompress(byte[], string) for full details.

    Declaration
    public static byte[] DecryptAndDecompress(this byte[] data, string password)
    Parameters
    Type Name Description
    byte[] data

    The encrypted and compressed data. Must not be null.

    string password

    The decryption password. Must not be null or empty.

    Returns
    Type Description
    byte[]

    The decrypted and decompressed plaintext byte array.

    Exceptions
    Type Condition
    CryptoException

    Thrown when decryption fails.

    CompressionException

    Thrown when decompression fails or the password is empty.

    DecryptAndDecompress(byte[], string, CompressionSettings, CryptoSettings)

    Decrypts this byte array with custom settings and then decompresses the result. See DecryptAndDecompress(byte[], string, CompressionSettings, CryptoSettings) for full details.

    Declaration
    public static byte[] DecryptAndDecompress(this byte[] data, string password, CompressionSettings compressionSettings, CryptoSettings cryptoSettings = null)
    Parameters
    Type Name Description
    byte[] data

    The encrypted and compressed data. Must not be null.

    string password

    The decryption password. Must not be null or empty.

    CompressionSettings compressionSettings

    Compression settings controlling the decompression algorithm. Must match the settings used when the data was originally compressed.

    CryptoSettings cryptoSettings

    Decryption settings, or null for crypto defaults.

    Returns
    Type Description
    byte[]

    The decrypted and decompressed plaintext byte array.

    Exceptions
    Type Condition
    CryptoException

    Thrown when decryption fails.

    CompressionException

    Thrown when decompression fails or the password is empty.

    DecryptAndDecompressAsync(byte[], string, CompressionSettings, CryptoSettings, CancellationToken)

    Asynchronously decrypts this byte array with custom settings and then decompresses the result.

    Declaration
    public static Task<byte[]> DecryptAndDecompressAsync(this byte[] data, string password, CompressionSettings compressionSettings, CryptoSettings cryptoSettings = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The encrypted and compressed data. Must not be null.

    string password

    The decryption password. Must not be null or empty.

    CompressionSettings compressionSettings

    Compression settings controlling the decompression algorithm. Must match the settings used when the data was originally compressed.

    CryptoSettings cryptoSettings

    Decryption settings, or null for crypto defaults.

    CancellationToken cancellationToken

    Optional token to cancel the decompression step.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the decrypted and decompressed plaintext byte array.

    Exceptions
    Type Condition
    CryptoException

    Thrown when decryption fails.

    CompressionException

    Thrown when decompression fails or the password is empty.

    DecryptAndDecompressAsync(byte[], string, CancellationToken)

    Asynchronously decrypts this byte array and then decompresses the result using default settings.

    Declaration
    public static Task<byte[]> DecryptAndDecompressAsync(this byte[] data, string password, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    byte[] data

    The encrypted and compressed data. Must not be null.

    string password

    The decryption password. Must not be null or empty.

    CancellationToken cancellationToken

    Optional token to cancel the decompression step.

    Returns
    Type Description
    Task<byte[]>

    A task that resolves to the decrypted and decompressed plaintext byte array.

    Exceptions
    Type Condition
    CryptoException

    Thrown when decryption fails.

    CompressionException

    Thrown when decompression fails or the password is empty.

    DetectCompressionAlgorithm(byte[])

    Attempts to identify the compression algorithm used to produce this byte array by inspecting its magic-number header. See DetectAlgorithm(byte[]) for the full list of recognisable magic numbers and their conditions.

    Declaration
    public static CompressionAlgorithm? DetectCompressionAlgorithm(this byte[] compressedData)
    Parameters
    Type Name Description
    byte[] compressedData

    The compressed data to analyse. May be null or too short to contain a magic number.

    Returns
    Type Description
    CompressionAlgorithm?

    The detected CompressionAlgorithm, or null when the algorithm cannot be determined (e.g., raw Deflate data, unknown format, or null/empty input).

    See Also

    ScyllaCompression
    In this article
    Back to top Scylla Framework - Core Module API Documentation