mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
strings: builder: write_b()
This commit is contained in:
parent
55f32fc413
commit
5a8c07dcf5
8 changed files with 26 additions and 5 deletions
|
@ -48,7 +48,7 @@ pub fn encode(data string) string {
|
|||
* @return the actual size of the decoded data in the buffer.
|
||||
* NB: this function does NOT allocate new memory, and is suitable for handling very large strings.
|
||||
*/
|
||||
pub fn decode_in_buffer(data &string, buffer mut byteptr) int {
|
||||
pub fn decode_in_buffer(data &string, buffer byteptr) int {
|
||||
mut padding := 0
|
||||
if data.ends_with('=') {
|
||||
if data.ends_with('==') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue