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
@ -460,7 +460,7 @@ pub fn (input BitField) slice(_start int, _end int) BitField {
|
||||
// reverse() reverses the order of bits in the array (swap the first with the
|
||||
// last, the second with the last but one and so on)
|
||||
|
||||
pub fn (instance mut BitField) reverse() BitField {
|
||||
pub fn (instance BitField) reverse() BitField {
|
||||
size := instance.size
|
||||
bitnslots := bitnslots(size)
|
||||
mut output := new(size)
|
||||
|
Reference in New Issue
Block a user