Tagged articles
5 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Apr 21, 2024 · Fundamentals

Decoding Binary UTF-8 Signage in a Public Restroom Using Java

The article explains how a binary message on a multilingual public‑restroom sign was decoded by identifying UTF‑8 byte patterns, extracting the first 24 bits to reveal the Chinese character “向”, and providing a Java program that parses the entire bit string into readable Chinese text.

JavaUTF-8Unicode
0 likes · 4 min read
Decoding Binary UTF-8 Signage in a Public Restroom Using Java
NiuNiu MaTe
NiuNiu MaTe
Dec 22, 2021 · Fundamentals

Why Understanding Binary and Encoding Unlocks Computer Fundamentals

This article explores the essence of computing by tracing how basic circuits, binary encoding, and layered abstractions from hardware to software enable modern digital devices, illustrating concepts with bicycle analogies, circuit diagrams, and historical insights into binary's development.

Hardwareabstractionbinary encoding
0 likes · 15 min read
Why Understanding Binary and Encoding Unlocks Computer Fundamentals
Top Architect
Top Architect
Aug 3, 2021 · Backend Development

Java Serialization vs Binary Encoding: Size and Performance Comparison

The article examines Java's built‑in Serializable interface, highlights its cross‑language incompatibility, large payload size, and low efficiency, then presents benchmark code comparing it with a custom binary encoding, showing significant reductions in data size and processing time, and recommends modern frameworks such as Protobuf or Thrift.

JavaProtobufThrift
0 likes · 6 min read
Java Serialization vs Binary Encoding: Size and Performance Comparison
Suishouji Tech Team
Suishouji Tech Team
Mar 20, 2018 · Fundamentals

Why Protocol Buffers Outperform JSON and XML for Mobile Data Transfer

Protocol Buffers, Google’s cross‑platform serialization format, dramatically reduces payload size and speeds up transmission compared to JSON or XML by using compact binary encoding, Varint and ZigZag techniques, and offers powerful reflection mechanisms illustrated with Objective‑C examples and detailed code snippets.

ReflectionVarintZigzag
0 likes · 14 min read
Why Protocol Buffers Outperform JSON and XML for Mobile Data Transfer