libs/sensorml/src/lib/model/swe/SweBinaryBlock.ts
Binary encoding parameters used to encode a block of values at once. This is used for encrypting or compressing a complete array of values for instance
Properties |
Methods |
byteLength |
Type : number
|
Decorators :
@DisplayName('Byte length')
|
Length in byte of this binary block (if known in advance) |
compression |
Type : string
|
Decorators :
@DisplayName('Compression')
|
Name of the compression method used to encrypt the block of values described by the referenced data component |
encryption |
Type : string
|
Decorators :
@DisplayName('Encryption')
|
Name of the encryption method used to encrypt the block of values described by the referenced data component |
paddingBytesAfter |
Type : number
|
Decorators :
@DisplayName('Padding bytes after')
|
Number of padding bytes present in the stream after this binary block |
paddingBytesBefore |
Type : number
|
Decorators :
@DisplayName('Padding bytes before')
|
Number of padding bytes present in the stream before this binary block |
ref |
Type : string
|
Decorators :
@DisplayName('Ref')
|
Reference to the aggregate data component that this binary block encoding settings apply to |
extension |
Type : any[]
|
Decorators :
@DisplayName('Extension')
|
Inherited from
AbstractSWE
|
Defined in
AbstractSWE:12
|
Extension slot for future extensions to this standard. |
id |
Type : string
|
Decorators :
@DisplayName('Id')
|
Inherited from
AbstractSWE
|
Defined in
AbstractSWE:7
|
toString |
toString()
|
Returns :
string
|
toString |
toString()
|
Inherited from
AbstractSWE
|
Defined in
AbstractSWE:14
|
Returns :
string
|
import { AbstractSWE } from './AbstractSWE';
import { DisplayName } from '../../common/decorators/DisplayName';
/**
* Binary encoding parameters used to encode a block of values at once. This is
* used for encrypting or compressing a complete array of values for instance
*/
export class SweBinaryBlock extends AbstractSWE {
/**
* Name of the compression method used to encrypt the block of values
* described by the referenced data component
*/
@DisplayName('Compression')
compression: string;
/**
* Name of the encryption method used to encrypt the block of values described
* by the referenced data component
*/
@DisplayName('Encryption')
encryption: string;
/**
* Number of padding bytes present in the stream after this binary block
*/
@DisplayName('Padding bytes after')
paddingBytesAfter: number;
/**
* Number of padding bytes present in the stream before this binary block
*/
@DisplayName('Padding bytes before')
paddingBytesBefore: number;
/**
* Length in byte of this binary block (if known in advance)
*/
@DisplayName('Byte length')
byteLength: number;
/**
* Reference to the aggregate data component that this binary block encoding
* settings apply to
*/
@DisplayName('Ref')
ref: string;
toString() {
return 'SWE binary block';
}
}