Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ write_byte_direct
Function
write_byte_direct
lib/rb/ext/binary_protocol_accelerated.c:41–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
static ID rbuf_ivar_id;
40
41
static void write_byte_direct(VALUE trans, int8_t b) {
42
WRITE(trans, (char*)&b, 1);
43
}
44
45
static void write_i16_direct(VALUE trans, int16_t value) {
46
char data[2];
Callers
7
rb_thrift_binary_proto_write_message_begin
Function · 0.70
rb_thrift_binary_proto_write_field_begin
Function · 0.70
rb_thrift_binary_proto_write_field_stop
Function · 0.70
rb_thrift_binary_proto_write_map_begin
Function · 0.70
rb_thrift_binary_proto_write_list_begin
Function · 0.70
rb_thrift_binary_proto_write_bool
Function · 0.70
rb_thrift_binary_proto_write_byte
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected