3 repository-uri
Specialized converters for translating database binary representations into language-native objects.
Distinct from Binary Data Formats: Focuses on database-to-application type conversion rather than general serialization formats like BSON.
Explore 3 awesome GitHub repositories matching data & databases · Binary Type Codecs. Refine with filters or upvote what's useful.
asyncpg is an asynchronous database driver and binary protocol client for PostgreSQL. It provides a non-blocking interface for executing SQL statements, streaming result sets, and managing data transfer between an application and a PostgreSQL database. The driver implements the PostgreSQL binary protocol directly to facilitate efficient data transfer and type conversion. It includes a connection pool to maintain and reuse open database connections, reducing the latency associated with repeated handshakes. The project covers a broad range of database integration capabilities, including atomic
Uses binary-format codecs to convert database types to Python objects, reducing parsing overhead.
MessagePack-CSharp is a high-performance binary serializer for .NET that converts C# objects to and from the compact MessagePack format. It uses compile-time source generation to produce AOT-safe formatters and resolvers, eliminating runtime reflection and enabling ahead-of-time compilation scenarios. The serializer encodes object fields as integer indices instead of string keys, producing compact binary output with deterministic field ordering, and provides stack-allocated reader and writer structs for direct encoding and decoding of MessagePack primitives without heap allocations. The libra
Embeds full .NET type names into serialized blobs for type-argument-free deserialization.
pgx este un framework și o suită de instrumente pentru dezvoltarea de extensii PostgreSQL de înaltă performanță folosind limbajul de programare Rust. Oferă un wrapper API de nivel scăzut pentru a interacționa cu contextele de memorie interne ale bazei de date, sistemele de logare și API-urile de execuție de bază, permițând implementarea de funcționalități și logică personalizată direct în motorul bazei de date. Proiectul se distinge printr-un instrument de build dedicat și o interfață în linia de comandă (CLI) care gestionează ciclul de viață al dezvoltării extensiei, de la inițializarea mediului până la împachetarea binară. Include un mapper de tipuri care traduce structurile de limbaj în tipuri compozite de bază de date și generează automat definițiile SQL corespunzătoare. Framework-ul acoperă o suprafață largă de capabilități, inclusiv maparea funcțiilor definite de utilizator, integrarea protocolului binar și suportul pentru mai multe versiuni de target pentru a asigura compatibilitatea între diferite release-uri de baze de date. De asemenea, oferă wrappere specializate pentru gestionarea memoriei, pentru a manipula pointerii și a preveni scurgerile de memorie în mediul bazei de date.
Implements specialized binary codecs for translating PostgreSQL internal binary representations into native Rust objects.