mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix failing tests for mysql, crypto.rc4, strings
This commit is contained in:
parent
c03fe020bf
commit
868d3e1008
4 changed files with 15 additions and 2 deletions
|
@ -60,6 +60,11 @@ pub fn (mut b Builder) write_u8(data u8) {
|
|||
b << data
|
||||
}
|
||||
|
||||
// write_byte appends a single `data` byte to the accumulated buffer
|
||||
pub fn (mut b Builder) write_byte(data byte) {
|
||||
b << data
|
||||
}
|
||||
|
||||
// write implements the Writer interface
|
||||
pub fn (mut b Builder) write(data []u8) ?int {
|
||||
if data.len == 0 {
|
||||
|
|
|
@ -23,6 +23,10 @@ pub fn (mut b Builder) write_b(data u8) {
|
|||
b << data
|
||||
}
|
||||
|
||||
pub fn (mut b Builder) write_byte(data byte) {
|
||||
b << data
|
||||
}
|
||||
|
||||
pub fn (mut b Builder) write_u8(data u8) {
|
||||
b << data
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue