fix bug of buffer.Next(n int), n must be positive, use TopUInt32 instead