Strip padding when reading fixed length value