Skip to content

Commit

Permalink
Merge pull request #129 from tonlabs/0.67.0
Browse files Browse the repository at this point in the history
0.67.0
  • Loading branch information
BorisI authored Mar 16, 2023
2 parents 47997d7 + f9667e6 commit 10e9c53
Show file tree
Hide file tree
Showing 4,148 changed files with 54,409 additions and 147,335 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
31 changes: 29 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ contract development.
* [\<bytes\>.operator[]](#bytesoperator)
* [\<bytes\> slice](#bytes-slice)
* [\<bytes\>.length](#byteslength)
* [\<bytes\>.toSlice](#bytestoslice)
* [\<bytes\>.toSlice()](#bytestoslice)
* [\<bytes\>.dataSize()](#bytesdatasize)
* [\<bytes\>.dataSizeQ()](#bytesdatasizeq)
* [\<bytes\>.append()](#bytesappend)
Expand All @@ -101,6 +101,9 @@ contract development.
* [\<string\>.append()](#stringappend)
* [\<string\>.operator+](#stringoperator)
* [\<string\>.find() and \<string\>.findLast()](#stringfind-and-stringfindlast)
* [\<string\>.toSlice()](#stringtoslice)
* [\<string\>.dataSize()](#stringdatasize)
* [\<string\>.dataSizeQ()](#stringdatasizeq)
* [\<string\>.toUpperCase()` and \<string\>.toLowerCase()](#stringtouppercase-and-stringtolowercase)
* [format()](#format)
* [stoi()](#stoi)
Expand Down Expand Up @@ -1330,7 +1333,7 @@ slice = byteArray[:]; // slice == "01234567890123456789"

Returns length of the `bytes` array.

##### \<bytes\>.toSlice
##### \<bytes\>.toSlice()

```TVMSolidity
<bytes>.toSlice() returns (TvmSlice);
Expand Down Expand Up @@ -1463,6 +1466,30 @@ optional(uint32) c = str.find(sub);
bool s = c.hasValue(); // s == false
```

##### \<string\>.toSlice()

```TVMSolidity
<string>.toSlice() returns (TvmSlice);
```

Converts `string` to `TvmSlice`.

##### \<string\>.dataSize()

```TVMSolidity
<string>.dataSize(uint n) returns (uint /*cells*/, uint /*bits*/, uint /*refs*/);
```

Same as [\<TvmCell\>.dataSize()](#tvmcelldatasize).

##### \<string\>.dataSizeQ()

```TVMSolidity
<string>.dataSizeQ(uint n) returns (optional(uint /*cells*/, uint /*bits*/, uint /*refs*/));
```

Same as [\<TvmCell\>.dataSizeQ()](#tvmcelldatasizeq).

##### \<string\>.toUpperCase()` and \<string\>.toLowerCase()

```TVMSolidity
Expand Down
Loading

0 comments on commit 10e9c53

Please sign in to comment.