Skip to content

Commit fb438ca

Browse files
committed
Update builtin.{txt,jax}
1 parent 30272ed commit fb438ca

File tree

2 files changed

+22
-16
lines changed

2 files changed

+22
-16
lines changed

doc/builtin.jax

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Mar 18
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Mar 22
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1389,9 +1389,11 @@ blob2str({blob} [, {options}]) *blob2str()*
13891389
|str2blob()| も参照
13901390

13911391
例: >
1392-
blob2str(0z6162) returns ["ab"]
1393-
blob2str(0zC2ABC2BB) returns ["束損"]
1394-
blob2str(0zABBB, {'encoding': 'latin1'}) returns ["束損"]
1392+
blob2str(0z6162) returns ['ab']
1393+
blob2str(0zC2ABC2BB) returns ['«»']
1394+
blob2str(0z610A62) returns ['a', 'b']
1395+
blob2str(0z610062) returns ['a\nb']
1396+
blob2str(0zABBB, {'encoding': 'latin1'}) returns ['«»']
13951397
<
13961398
|method| としても使用できる: >
13971399
GetBlob()->blob2str()
@@ -10449,11 +10451,12 @@ str2blob({list} [, {options}]) *str2blob()*
1044910451
|blob2str()| も参照
1045010452

1045110453
例: >
10452-
str2blob(["ab"]) returns 0z6162
10453-
str2blob(["束損"]) returns 0zC2ABC2BB
10454-
str2blob(["a\nb"]) returns 0z610A62
10454+
str2blob(["ab"]) returns 0z6162
10455+
str2blob(["«»"]) returns 0zC2ABC2BB
10456+
str2blob(["a\nb"]) returns 0z610062
10457+
str2blob(["a","b"]) returns 0z610A62
10458+
str2blob(["«»"], {'encoding': 'latin1'}) returns 0zABBB
1045510459
str2blob(readfile('myfile.txt'))
10456-
str2blob(["束損"], {'encoding': 'latin1'}) returns 0zABBB
1045710460
<
1045810461
|method| としても使用できる: >
1045910462
GetListOfStrings()->str2blob()

en/builtin.txt

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2025 Mar 18
1+
*builtin.txt* For Vim version 9.1. Last change: 2025 Mar 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1323,9 +1323,11 @@ blob2str({blob} [, {options}]) *blob2str()*
13231323
See also |str2blob()|
13241324

13251325
Examples: >
1326-
blob2str(0z6162) returns ["ab"]
1327-
blob2str(0zC2ABC2BB) returns ["«»"]
1328-
blob2str(0zABBB, {'encoding': 'latin1'}) returns ["«»"]
1326+
blob2str(0z6162) returns ['ab']
1327+
blob2str(0zC2ABC2BB) returns ['«»']
1328+
blob2str(0z610A62) returns ['a', 'b']
1329+
blob2str(0z610062) returns ['a\nb']
1330+
blob2str(0zABBB, {'encoding': 'latin1'}) returns ['«»']
13291331
<
13301332
Can also be used as a |method|: >
13311333
GetBlob()->blob2str()
@@ -10666,11 +10668,12 @@ str2blob({list} [, {options}]) *str2blob()*
1066610668
See also |blob2str()|
1066710669

1066810670
Examples: >
10669-
str2blob(["ab"]) returns 0z6162
10670-
str2blob(["«»"]) returns 0zC2ABC2BB
10671-
str2blob(["a\nb"]) returns 0z610A62
10672-
str2blob(readfile('myfile.txt'))
10671+
str2blob(["ab"]) returns 0z6162
10672+
str2blob(["«»"]) returns 0zC2ABC2BB
10673+
str2blob(["a\nb"]) returns 0z610062
10674+
str2blob(["a","b"]) returns 0z610A62
1067310675
str2blob(["«»"], {'encoding': 'latin1'}) returns 0zABBB
10676+
str2blob(readfile('myfile.txt'))
1067410677
<
1067510678
Can also be used as a |method|: >
1067610679
GetListOfStrings()->str2blob()

0 commit comments

Comments
 (0)