A TLS record starts by saying what kind of bytes it carries.
A record starts with a type byte
The first byte is content type 22. In this toy vocabulary, that value means handshake.
content type=22
The name is not guessed
The helper labels this content type as handshake only after the byte is checked.
content type=22
The version follows the type
After the type byte, the next two bytes carry the legacy version field.
header bytes=5
Summary
The record does not start with payload. It starts with a checked content type byte.
type=22