/// import Codable from './Codable'; export default class Bytes implements Codable { data: Uint8Array; static from(data: Uint8Array): Bytes; static default(): Bytes; static fromString(data: string): Bytes; static fromHexString(hex: string): Bytes; static fromBuffer(data: Buffer): Bytes; constructor(data: Uint8Array); get raw(): Uint8Array; setData(data: Uint8Array): void; intoString(): string; toString(): string; toTypeString(): string; toHexString(): string; padZero(length: number): Bytes; equals(target: Bytes): boolean; static concat(a: Bytes | Bytes[], b?: Bytes): Bytes; split(position: number): [Bytes, Bytes]; increment(): Bytes; startsWith(b: Bytes): boolean; suffix(str: string): Bytes; }