Enhanced buffer reading and definition.