Genotype API Documentation - v0.1.0
Preparing search index...
CompressionDetector
Variable CompressionDetector
Const
CompressionDetector
:
{
fromExtension
:
(
filePath
:
string
)
=>
CompressionFormat
;
fromMagicBytes
:
(
bytes
:
Uint8Array
)
=>
CompressionDetection
;
fromStream
:
(
stream
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
,
)
=>
Promise
<
CompressionDetection
>
;
hybrid
:
(
filePath
:
string
,
bytes
?:
Uint8Array
<
ArrayBufferLike
>
,
)
=>
CompressionDetection
;
isReliable
:
(
detection
:
CompressionDetection
)
=>
boolean
;
detectGzipVariant
:
(
data
:
Uint8Array
)
=>
"standard"
|
"bgzf"
;
}
= ...
Type Declaration
fromExtension
:
(
filePath
:
string
)
=>
CompressionFormat
fromMagicBytes
:
(
bytes
:
Uint8Array
)
=>
CompressionDetection
fromStream
:
(
stream
:
ReadableStream
<
Uint8Array
<
ArrayBufferLike
>
>
,
)
=>
Promise
<
CompressionDetection
>
hybrid
:
(
filePath
:
string
,
bytes
?:
Uint8Array
<
ArrayBufferLike
>
)
=>
CompressionDetection
isReliable
:
(
detection
:
CompressionDetection
)
=>
boolean
detectGzipVariant
:
(
data
:
Uint8Array
)
=>
"standard"
|
"bgzf"
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Genotype API Documentation - v0.1.0
Loading...