D dwn.220.v.ua

ruby null terminated string

Get a null ('/0') terminated string from the buffer. def get_stri...

📦 .zip⚖️ 25.1 MB📅 26 Mar 2026

Get a null ('/0') terminated string from the buffer. def get_string zero_byte = @dwn.220.v.ua('\0',@position) if zero_byte === nil string = '' else.

⬇ Download Full Version

I don't really understand why your regex is the way it is, but \0 is a...

📦 .zip⚖️ 105.4 MB📅 02 Feb 2026

I don't really understand why your regex is the way it is, but \0 is a null byte used in the regex (or \x00 if you prefer hex codes). Basically.

⬇ Download Full Version

This is not a ruby-specific problem. Arguments on a nix system are passed a...

📦 .zip⚖️ 16.8 MB📅 17 Dec 2025

This is not a ruby-specific problem. Arguments on a nix system are passed as null-terminated strings (see exec(2) for more details). That means.

⬇ Download Full Version

Parsing null terminated key/value ASCII strings in Ruby. Oct 31, I've ...

📦 .zip⚖️ 33.5 MB📅 13 Feb 2026

Parsing null terminated key/value ASCII strings in Ruby. Oct 31, I've recently been messing with a lot of hex thanks to my current client. I ran across a.

⬇ Download Full Version

use the 24 bytes directly for 23 chars and a NULL terminator. Ruby strings ...

📦 .zip⚖️ 25.7 MB📅 22 Nov 2025

use the 24 bytes directly for 23 chars and a NULL terminator. Ruby strings aren't null terminated though. EDIT: So I went and looked at the code.

⬇ Download Full Version

RCS file: /src/ruby/pack.c,v retrieving revision diff -r pack.c a, > * T...

📦 .zip⚖️ 77.1 MB📅 22 Jan 2026

RCS file: /src/ruby/pack.c,v retrieving revision diff -r pack.c a, > * T | String | read zero-terminated string > * | | (with null.

⬇ Download Full Version

A simple RocksDB library for Ruby. Contribute to rocksdb-ruby development b...

📦 .zip⚖️ 98.4 MB📅 25 Feb 2026

A simple RocksDB library for Ruby. Contribute to rocksdb-ruby development by creating an account on GitHub.

⬇ Download Full Version

This table summarizes the various formats and the Ruby classes returned by ...

📦 .zip⚖️ 88.8 MB📅 31 May 2026

This table summarizes the various formats and the Ruby classes returned by . a | String | arbitrary binary string Z | String | null-terminated string B | String | bit.

⬇ Download Full Version

But this seems like a bad thing to do in almost all cases when working with...

📦 .zip⚖️ 119.2 MB📅 01 Sep 2025

But this seems like a bad thing to do in almost all cases when working with C-style strings, as all functions expecting a null terminator will run.

⬇ Download Full Version

That's about string types in C and Ruby. As you may know, C uses null-...

📦 .zip⚖️ 98.5 MB📅 30 Dec 2025

That's about string types in C and Ruby. As you may know, C uses null-terminated strings while Ruby uses more sophisticated string type.

⬇ Download Full Version

The String class represents the arbitrary length of byte string. .. format;...

📦 .zip⚖️ 77.5 MB📅 28 Oct 2025

The String class represents the arbitrary length of byte string. .. format; d: A double-precision float in the native format; p: A pointer to a null-terminated string.

⬇ Download Full Version

A string in Ruby is composed simply of a sequence of 8-bit bytes. It is not...

📦 .zip⚖️ 16.5 MB📅 20 Aug 2025

A string in Ruby is composed simply of a sequence of 8-bit bytes. It is not null terminated as in C, so it may contain null characters. Strings.

⬇ Download Full Version

The general way how String#unpack is used is this: These will all unpack th...

📦 .zip⚖️ 71.7 MB📅 30 May 2026

The general way how String#unpack is used is this: These will all unpack the bytes of a string to an array of integers. .. p | Pointer to Null-Terminated String.

⬇ Download Full Version

For years I've assumed every Ruby String object was like every .. C st...

📦 .zip⚖️ 23.3 MB📅 22 Jan 2026

For years I've assumed every Ruby String object was like every .. C strings are always NULL terminated, so in ASCII 23 characters takes

⬇ Download Full Version

This is the eighth in my series of posts about writing ruby extensions in C...

📦 .zip⚖️ 72.6 MB📅 07 Apr 2026

This is the eighth in my series of posts about writing ruby extensions in C. the NULL terminated char * c_str pointer in, and return a ruby string.

⬇ Download Full Version