UNPKG

@abaplint/runtime

Version:
17 lines (16 loc) 624 B
import { Character, FieldSymbol, Hex, Structure, XString } from "./types"; import { ICharacter } from "./types/_character"; import { INumeric } from "./types/_numeric"; export interface IOffsetLengthOptions { length?: INumeric | number; offset?: INumeric | number; } export declare class OffsetLength { private readonly obj; private readonly offset?; private readonly length?; private readonly isHex; constructor(obj: ICharacter | Character | Hex | XString | Structure | FieldSymbol, options: IOffsetLengthOptions); get(): string; set(value: ICharacter | string | Hex | XString): void; }