mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
strings: builder: write_b()
This commit is contained in:

committed by
Alexander Medvednikov

parent
55f32fc413
commit
5a8c07dcf5
@ -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('==') {
|
||||
|
Reference in New Issue
Block a user