/**
 * Copyright(c) Live2D Inc. All rights reserved.
 *
 * Use of this source code is governed by the Live2D Open Software license
 * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
 */ /**
 * 文字列クラス。
 */ export class csmString { param c return public append ( c , length ? ) { this . s += length !== undefined ? c . substr ( 0 , length ) : c ; return this ; } param length param v return public expansion ( length , v ) { for ( let i = 0 ; i < length ; i ++ ) { this . append ( v ) ; } return this ; } /**
     * 文字列の長さをバイト数で取得する
     */ public getBytes ( ) { return encodeURIComponent ( this . s ) . replace ( /%../g , 'x' ) . length ; } /**
     * 文字列の長さを返す
     */ public getLength ( ) { return this . s . length ; } param s return return public isLess ( s ) { return this . s < s . s ; } param s return return public isGreat ( s ) { return this . s > s . s ; } param s return return public isEqual ( s ) { return this . s == s ; } return return public isEmpty ( ) { return this . s . length == 0 ; } /**
     * 引数付きコンストラクタ
     */ public constructor ( s ) { this . s = s ; } s : string ; } import * as $ from './csmstring' ; export namespace Live2DCubismFramework { export const csmString = $ . csmString ; export type csmString = $ . csmString ; }